You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by ha...@apache.org on 2020/03/16 04:54:02 UTC
[incubator-mxnet] branch master updated (d495f22 -> ea2daba)
This is an automated email from the ASF dual-hosted git repository.
haoj pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git.
from d495f22 fix chisquare (#17825)
add ea2daba [NumPy] add op random.laplace (#17316)
No new revisions were added by this update.
Summary of changes:
python/mxnet/ndarray/numpy/random.py | 42 +++++++
python/mxnet/numpy/random.py | 31 ++++++
python/mxnet/symbol/numpy/random.py | 52 ++++++++-
src/api/operator/numpy/random/np_laplace_op.cc | 96 ++++++++++++++++
.../random/{np_gamma_op.cc => np_laplace_op.cc} | 47 +++-----
.../random/{np_power_op.cu => np_laplace_op.cu} | 10 +-
.../random/{np_uniform_op.h => np_laplace_op.h} | 121 +++++++++++++--------
tests/nightly/test_np_random.py | 19 ++++
tests/python/unittest/test_numpy_op.py | 2 +-
9 files changed, 334 insertions(+), 86 deletions(-)
create mode 100644 src/api/operator/numpy/random/np_laplace_op.cc
copy src/operator/numpy/random/{np_gamma_op.cc => np_laplace_op.cc} (60%)
copy src/operator/numpy/random/{np_power_op.cu => np_laplace_op.cu} (81%)
copy src/operator/numpy/random/{np_uniform_op.h => np_laplace_op.h} (64%)