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/04/10 06:02:28 UTC
[incubator-mxnet] branch master updated (d8c7293 -> 0d87aa8)
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 d8c7293 fix np flip when axis input contains negative number (#17880)
add 0d87aa8 [numpy] FFI for insert \ delete \ matmul etc. (#17759)
No new revisions were added by this update.
Summary of changes:
benchmark/python/ffi/benchmark_ffi.py | 15 ++
python/mxnet/ndarray/numpy/_op.py | 87 ++++++++----
python/mxnet/ndarray/numpy/random.py | 67 +++------
.../operator/numpy/np_broadcast_reduce_op_value.cc | 40 +++++-
src/api/operator/numpy/np_delete_op.cc | 101 +++++++++++++
src/api/operator/numpy/np_init_op.cc | 126 ++++++++++++++++-
src/api/operator/numpy/np_insert_op.cc | 156 +++++++++++++++++++++
.../operator/numpy/{np_kron.cc => np_matmul_op.cc} | 27 ++--
src/api/operator/numpy/np_matrix_op.cc | 32 +++++
src/api/operator/numpy/np_window_op.cc | 79 +++++++++++
src/api/operator/random/np_gamma_op.cc | 108 ++++++++++++++
src/api/operator/random/np_normal_op.cc | 96 +++++++++++++
src/api/operator/random/np_uniform_op.cc | 96 +++++++++++++
src/operator/numpy/np_broadcast_reduce_op.h | 16 +++
src/operator/numpy/np_delete_op-inl.h | 14 ++
src/operator/numpy/np_init_op.h | 26 ++++
src/operator/numpy/np_insert_op-inl.h | 16 +++
src/operator/numpy/np_matrix_op-inl.h | 7 +
src/operator/numpy/np_window_op.h | 8 ++
src/operator/numpy/random/np_gamma_op.h | 12 ++
src/operator/numpy/random/np_normal_op.h | 12 ++
src/operator/numpy/random/np_uniform_op.h | 12 ++
src/operator/tensor/init_op.h | 29 ++++
23 files changed, 1094 insertions(+), 88 deletions(-)
create mode 100644 src/api/operator/numpy/np_delete_op.cc
create mode 100644 src/api/operator/numpy/np_insert_op.cc
copy src/api/operator/numpy/{np_kron.cc => np_matmul_op.cc} (69%)
create mode 100644 src/api/operator/numpy/np_window_op.cc
create mode 100644 src/api/operator/random/np_gamma_op.cc
create mode 100644 src/api/operator/random/np_normal_op.cc
create mode 100644 src/api/operator/random/np_uniform_op.cc