larroy commented on a change in pull request #15331: [fix] missing input log 
higher order.
URL: https://github.com/apache/incubator-mxnet/pull/15331#discussion_r304112067
 
 

 ##########
 File path: src/operator/tensor/elemwise_unary_op_basic.cc
 ##########
 @@ -1117,15 +1117,15 @@ 
MXNET_OPERATOR_REGISTER_BINARY_WITH_SPARSE_CPU_DR(_backward_log10,
                                                   
unary_bwd<mshadow_op::log10_grad>)
 .set_attr<nnvm::FGradient>("FGradient",
   [](const nnvm::NodePtr& n, const std::vector<nnvm::NodeEntry>& ograds) {
-    // ograds[0]: dL/dxgrad
+    // ograds[0]: dL/dygrad
 
 Review comment:
   I think this is dL/dx_grad.  The head gradient is the gradient with respect 
to the previous output right? the previous output is x_grad  or dL/dx     so 
this thing is dL/(dL/dx)  or dL/dx_grad  in lack of a better notation.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to