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 c63ae49 fix full and full_like when input is boolean (#17668)
add c141867 add np.ediff1d (#17624)
No new revisions were added by this update.
Summary of changes:
python/mxnet/ndarray/numpy/_op.py | 59 +++++-
python/mxnet/numpy/multiarray.py | 42 +++-
python/mxnet/numpy_dispatch_protocol.py | 1 +
python/mxnet/symbol/numpy/_symbol.py | 40 +++-
src/operator/numpy/np_diff.cc | 8 +-
src/operator/numpy/np_ediff1d_op-inl.h | 228 +++++++++++++++++++++
src/operator/numpy/np_ediff1d_op.cc | 159 ++++++++++++++
.../numpy/{np_cumsum.cu => np_ediff1d_op.cu} | 14 +-
.../python/unittest/test_numpy_interoperability.py | 14 ++
tests/python/unittest/test_numpy_op.py | 114 +++++++++++
10 files changed, 665 insertions(+), 14 deletions(-)
create mode 100644 src/operator/numpy/np_ediff1d_op-inl.h
create mode 100644 src/operator/numpy/np_ediff1d_op.cc
copy src/operator/numpy/{np_cumsum.cu => np_ediff1d_op.cu} (73%)