(A clear and concise description of what the bug is.)mxnet.ndarray.op.random_pdf_dirichlet
has floating point exception when given sample
's shape has 0. Please see the provided code as example.
(Paste the complete error message. Please also include stack trace by setting environment variable DMLC_LOG_STACK_TRACE_DEPTH=10
before running your script.)
To ReproduceFloating point exception (core dumped)
(If you developed your own code, please provide a short script that reproduces the error. For existing examples, please provide link.)
import mxnet import numpy as np sample = mxnet.nd.array(np.random.rand(4,0)) alpha = mxnet.nd.array(np.random.rand(1)) mxnet.ndarray.op.random_pdf_dirichlet(sample=sample, alpha=alpha)Steps to reproduce
(Paste the commands you ran that produced the error.)
We recommend using our script for collecting the diagnositc information. Run the following command and paste the outputs below:
curl --retry 10 -s https://raw.githubusercontent.com/dmlc/gluon-nlp/master/tools/diagnose.py | python
# paste outputs here
Got 404 when trying to get the script.
Some environment information:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4