[GitHub] [incubator-mxnet] xidulu commented on issue #16638: [WIP] [Numpy] Add sampling method for bernoulli

2019-11-05 Thread GitBox
xidulu commented on issue #16638: [WIP] [Numpy] Add sampling method for bernoulli URL: https://github.com/apache/incubator-mxnet/pull/16638#issuecomment-549897379 Unit tests to be added, Correctness is briefly verified by hand. ``` In [9]: (npx.random.bernoulli(prob=prob,

[GitHub] [incubator-mxnet] xidulu commented on issue #16638: [WIP] [Numpy] Add sampling method for bernoulli

2019-11-04 Thread GitBox
xidulu commented on issue #16638: [WIP] [Numpy] Add sampling method for bernoulli URL: https://github.com/apache/incubator-mxnet/pull/16638#issuecomment-549261093 @reminisce For some reasons, operators under npx.random cannot have access to npi ops, could you help me resolve this