You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/03/31 15:36:03 UTC

[GitHub] jinhuang415 commented on a change in pull request #10336: Fix MKLDNN sigmoid/softrelu issue

jinhuang415 commented on a change in pull request #10336: Fix MKLDNN sigmoid/softrelu issue
URL: https://github.com/apache/incubator-mxnet/pull/10336#discussion_r178434589
 
 

 ##########
 File path: src/operator/nn/activation.cc
 ##########
 @@ -82,7 +82,7 @@ void ActivationGradComputeExCPU(const nnvm::NodeAttrs& attrs,
   const ActivationParam& param = nnvm::get<ActivationParam>(attrs.parsed);
   if (SupportMKLDNN(inputs[0])) {
     MKLDNN_OPCHECK_INIT(true, outputs.size(), inputs, outputs);
-    MKLDNNActivationBackward(attrs, ctx, inputs[0], inputs[1], req[0],
+    MKLDNNActivationBackward(attrs, ctx, inputs[0], inputs[2], req[0],
                              outputs[0]);
 
 Review comment:
   Thanks for the comments, have updated diff to pass input data and updated a few other functions as well.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services