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 2019/09/09 14:59:16 UTC

[incubator-mxnet] branch master updated (9a9c5f8 -> e260f13)

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 9a9c5f8  Fix failing tests (#16117)
     add e260f13  [Numpy] Random.choice implemented (#16089)

No new revisions were added by this update.

Summary of changes:
 python/mxnet/ndarray/numpy/random.py               |  78 ++++++-
 python/mxnet/numpy/random.py                       |  57 ++++-
 python/mxnet/symbol/numpy/random.py                |  77 +++++++
 src/operator/numpy/random/np_choice_op.cc          |  81 +++++++
 .../random/{np_uniform_op.cu => np_choice_op.cu}   |  21 +-
 src/operator/numpy/random/np_choice_op.h           | 244 +++++++++++++++++++++
 src/operator/tensor/indexing_op.cc                 |   1 +
 tests/python/unittest/test_numpy_op.py             |  97 ++++++++
 8 files changed, 649 insertions(+), 7 deletions(-)
 create mode 100644 src/operator/numpy/random/np_choice_op.cc
 copy src/operator/numpy/random/{np_uniform_op.cu => np_choice_op.cu} (62%)
 create mode 100644 src/operator/numpy/random/np_choice_op.h