connorgoggins commented on issue #17412: certain sample_ ops hanging with random_normal input URL: https://github.com/apache/incubator-mxnet/issues/17412#issuecomment-578307923 @xidulu it's strange that this restriction on `alpha` isn't specified anywhere in the docs [[1](http://beta.mxnet.io/r/api/mx.nd.sample.gamma.html), [2](http://beta.mxnet.io/r/api/mx.nd.sample.generalized.negative.binomial.html), [3](http://beta.mxnet.io/r/api/mx.nd.sample.negative.binomial.html)]. These three operators need better documentation (to indicate to users that `alpha` must be in `U(0,1)`) and better error handling - it should fail gracefully if invalid input is provided to `alpha` instead of entering an infinite while loop.
---------------------------------------------------------------- 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] With regards, Apache Git Services
