You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/12/28 20:32:04 UTC

[GitHub] [incubator-mxnet] sxjscience edited a comment on issue #19722: [RFC + BUG?] Implementation of Categorical distribution

sxjscience edited a comment on issue #19722:
URL: https://github.com/apache/incubator-mxnet/issues/19722#issuecomment-751855108


   I think shifting by `logsumexp` is reasonable. When the inputs are already from log_softmax, `logsumexp(x)` will be 0 so the behavior is the same as the current version. Basically, `logsumexp(log_softmax(x)) == 0`


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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org