DNXie opened a new issue #20051: URL: https://github.com/apache/incubator-mxnet/issues/20051
## Description mxnet.ndarray.sample_uniform crashes (aborts) when either `high` or `low` is empty tensor ### Error Message ~~~python Segmentation fault: 11 terminate called without an active exception Aborted (core dumped) ~~~ ## To Reproduce The reproducing code can be found in the [gist](https://colab.research.google.com/drive/1RcyKoPID2Cc0GPOkY5fFB6VyXOe3tWF8#scrollTo=VEUHFc8Ypx72) ~~~python import mxnet mxnet.ndarray.sample_uniform(high=mxnet.nd.array(np.ones((1,0))), low=mxnet.nd.ones((1,1))) ~~~ ## 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]
