Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/nn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Gross <sgross@fb.com>2016-02-25 01:18:13 +0300
committerSam Gross <sgross@fb.com>2016-02-25 22:50:15 +0300
commitc327f5b86ad7972f12fd5fe41c7215eea381043d (patch)
tree0edeaee6e9e069b069ae4feddd44dea60c1accaa /THNN.lua
parent00a60967687741ffdac20a8dda924127f8ccae4e (diff)
Add VolumetricBatchNormalization
The BatchNormalization modules now all extend nn.BatchNormalization and use the same THNN/THCUNN implementation.
Diffstat (limited to 'THNN.lua')
-rw-r--r--THNN.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/THNN.lua b/THNN.lua
index 927ea4c..4dd56ba 100644
--- a/THNN.lua
+++ b/THNN.lua
@@ -474,7 +474,7 @@ TH_API void THNN_(TemporalSubSampling_accGradParameters)(
int kW, int dW,
real scale);
-TH_API void THNN_(SpatialBatchNormalization_updateOutput)(
+TH_API void THNN_(BatchNormalization_updateOutput)(
THNNState *state,
THTensor *input,
THTensor *output,
@@ -487,7 +487,7 @@ TH_API void THNN_(SpatialBatchNormalization_updateOutput)(
bool train,
double momentum,
double eps);
-TH_API void THNN_(SpatialBatchNormalization_backward)(
+TH_API void THNN_(BatchNormalization_backward)(
THNNState *state,
THTensor *input,
THTensor *gradOutput,