haojin2 edited a comment on issue #11466: [MXNET-560] Add temperature parameter 
in Softmax operator
URL: https://github.com/apache/incubator-mxnet/pull/11466#issuecomment-402800500
 
 
   @slitsey It's actually doable with existing layers: do an _mul_scalar first 
and the feed the output to normal softmax, the backward of _mul_scalar will add 
the 1/T to the grad during back propagation.

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

Reply via email to