kli-nlpr commented on a change in pull request #7944: Update softmax_output.cc
URL: https://github.com/apache/incubator-mxnet/pull/7944#discussion_r141514319
##########
File path: src/operator/softmax_output.cc
##########
@@ -62,7 +62,7 @@ MXNET_REGISTER_OP_PROPERTY(SoftmaxOutput, SoftmaxOutputProp)
.. math:: \text{CE(label, output)} = - \sum_i \text{label}_i
\log(\text{output}_i)
- - The gradient of cross entropy loss w.r.t softmax output:
+ - The gradient of cross entropy loss w.r.t the input array:
.. math:: \text{gradient} = \text{output} - \text{label}
Review comment:
@piiswrong As @chinakook said, I think it is the gradient of the loss wrt
the input of the softmax activation function (i.e. the input array)
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services