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:
authorSoumith Chintala <soumith@gmail.com>2017-06-07 06:33:51 +0300
committerGitHub <noreply@github.com>2017-06-07 06:33:51 +0300
commit21bc88f1b6634cf742993795c8fc26f0f6782d37 (patch)
tree59209712efa74993482317514e360751c189ccc3
parentfa185dd3b5841a27726d63926b54bec37a95604b (diff)
fix outputHeight <-> outputWidth
-rw-r--r--lib/THNN/generic/SpatialDepthWiseConvolution.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/THNN/generic/SpatialDepthWiseConvolution.c b/lib/THNN/generic/SpatialDepthWiseConvolution.c
index 750bae0..2abb453 100644
--- a/lib/THNN/generic/SpatialDepthWiseConvolution.c
+++ b/lib/THNN/generic/SpatialDepthWiseConvolution.c
@@ -196,7 +196,7 @@ void THNN_(SpatialDepthWiseConvolution_updateOutput)(
THTensor_(free)(bias);
THTensor_(free)(_bias);
- THTensor_(resize4d)(output, T, nInputPlane * nOutputPlane, outputWidth, outputHeight);
+ THTensor_(resize4d)(output, T, nInputPlane * nOutputPlane, outputHeight, outputWidth);
if (batch == 0) {
THTensor_(select)(output, NULL, 0, 0);