TEChopra1000 commented on a change in pull request #17435: Chopt docfixes
URL: https://github.com/apache/incubator-mxnet/pull/17435#discussion_r370907244
 
 

 ##########
 File path: docs/python_docs/python/tutorials/packages/gluon/loss/loss.md
 ##########
 @@ -160,7 +160,7 @@ In classification, we often apply the
 softmax operator to the predicted outputs to obtain prediction probabilities,
 and then apply the cross entropy loss against the true labels:
 
-$$ \begin{align}\begin{aligned}p = \softmax({pred})\\L = -\sum_i \sum_j 
{label}_j \log p_{ij}\end{aligned}\end{align}
+$$ \begin{align}\begin{aligned}p = softmax({pred})\\L = -\sum_i \sum_j 
{label}_j \log p_{ij}\end{aligned}\end{align}
 
 Review comment:
   Isn't softmax the name of the function, not a LaTex command? I made this 
change because a ticket pointed out that there was a LaTex rendering issue 
here: 
https://mxnet.apache.org/api/python/docs/tutorials/packages/gluon/loss/loss.html#Cross-Entropy-Loss-with-Softmax

----------------------------------------------------------------
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