You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by cj...@apache.org on 2018/03/27 12:23:54 UTC

[incubator-mxnet] branch master updated: Fix a compile error. (#10256)

This is an automated email from the ASF dual-hosted git repository.

cjolivier01 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new 11deb67  Fix a compile error. (#10256)
11deb67 is described below

commit 11deb676bec595f05d3469a5b33724afd77e13e6
Author: Da Zheng <zh...@gmail.com>
AuthorDate: Tue Mar 27 05:23:46 2018 -0700

    Fix a compile error. (#10256)
---
 src/operator/nn/batch_norm.cu | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/operator/nn/batch_norm.cu b/src/operator/nn/batch_norm.cu
index c310a93..703ed39 100644
--- a/src/operator/nn/batch_norm.cu
+++ b/src/operator/nn/batch_norm.cu
@@ -708,8 +708,6 @@ void BatchNormGradCompute<gpu>(const nnvm::NodeAttrs& attrs,
     })
   }
 #else
-  aux_states[batchnorm::kMovingMean] = inputs[6];
-  aux_states[batchnorm::kMovingVar] = inputs[7];
   MSHADOW_REAL_TYPE_SWITCH_EX(out_grad[0].type_flag_, DType, AccReal, {
     BatchNormBackward<gpu, DType, AccReal>(ctx, param, inputs, req, outputs);
   });

-- 
To stop receiving notification emails like this one, please contact
cjolivier01@apache.org.