DNXie opened a new issue #20005: URL: https://github.com/apache/incubator-mxnet/issues/20005
## Description `mxnet.ndarray.log_softmax` crashes(floating point exception) when `out` contains `inf` ## Output ~~~ Floating point exception (core dumped) ~~~ ## To Reproduce ~~~python import mxnet import numpy as np mxnet.ndarray.log_softmax(data=mxnet.nd.array([]), out=mxnet.nd.array([np.inf])) ~~~ The bug is also reproducible in nightly version, check the [gist](https://colab.research.google.com/drive/1SsyH3dpCAQN8-aYtHpW1rioAGnHA7Ju_?usp=sharing). ## Environment OS: ubuntu 18.04 Python: 3.7.6 pip: 20.0.2 numpy: 1.18.5 mxnet: 1.6.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: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
