szha opened a new issue #9590: mx.metric.Perplexity should support calculating from cross-entropy URL: https://github.com/apache/incubator-mxnet/issues/9590 Currently part of the logic for calculating cross-entropy loss is in mx.metric.Perplexity. This means we would have repeated calculation when we are already using cross entropy loss, which is very commonly used (e.g SoftmaxCrossEntropyLoss). In that case, only exponentiating is needed. https://github.com/apache/incubator-mxnet/blob/master/python/mxnet/metric.py#L648-L658
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services