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 2019/09/20 02:35:15 UTC

[GitHub] [incubator-mxnet] rongzha1 commented on a change in pull request #16195: [mkldnn-v1.0] Add MKL-DNN activation

rongzha1 commented on a change in pull request #16195: [mkldnn-v1.0] Add MKL-DNN activation
URL: https://github.com/apache/incubator-mxnet/pull/16195#discussion_r326451726
 
 

 ##########
 File path: src/operator/nn/mkldnn/mkldnn_act-inl.h
 ##########
 @@ -67,8 +63,28 @@ MKLDNNActForward &GetActForward(const ActivationParam& param,
 void MKLDNNActivationForward(const nnvm::NodeAttrs& attrs, const OpContext &ctx,
                              const NDArray &in_data, const OpReqType &req,
                              const NDArray &out_data);
+
+mkldnn::eltwise_backward::primitive_desc GetActBwdDescImpl(
+    const ActivationParam &param, const mkldnn::memory &input_mem,
+    const mkldnn::memory &diff_dst_memory);
+
+class MKLDNNActBackward {
+  std::shared_ptr<mkldnn::eltwise_backward> bwd;
 
 Review comment:
   Thanks. Will change it.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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