DNXie opened a new issue #19793: URL: https://github.com/apache/incubator-mxnet/issues/19793
## Description floating point exception in `mxnet.ndarray.op.sample_multinomial` when `data` has 0 in its shape. ### Error Message ~~~ Floating point exception (core dumped) ~~~ ## To Reproduce check the reproduce code: https://colab.research.google.com/drive/14ocIth3ZkDUj7LYxcNn79NcWaoXu74Pk?usp=sharing ~~~python import mxnet import numpy as np data=mxnet.nd.array(np.ones((1,1,1,0))) mxnet.ndarray.op.sample_multinomial(data=data) ~~~ ## Environment OS: ubuntu 18.04 Python: 3.7.6 pip: 20.0.2 numpy: 1.18.5 mxnet: 1.7.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]
