You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by re...@apache.org on 2019/09/26 07:22:26 UTC
[incubator-mxnet] branch master updated (1a2da12 -> c5007ea)
This is an automated email from the ASF dual-hosted git repository.
reminisce pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git.
from 1a2da12 [MKLDNN] NDArray reorder in C API and deconv (#16265)
add c5007ea Numpy operators: `lcm`, `tril`, `identity` and `take` (#16264)
No new revisions were added by this update.
Summary of changes:
python/mxnet/ndarray/numpy/_op.py | 207 +++++++++++++++++-
python/mxnet/numpy/multiarray.py | 200 +++++++++++++++++-
python/mxnet/symbol/numpy/_symbol.py | 168 ++++++++++++++-
src/operator/elemwise_op_common.h | 19 ++
src/operator/mshadow_op.h | 43 ++++
src/operator/numpy/np_elemwise_broadcast_op.cc | 33 +++
src/operator/numpy/np_elemwise_broadcast_op.cu | 6 +
src/operator/numpy/np_init_op.cc | 10 +
src/operator/numpy/np_init_op.cu | 3 +
src/operator/numpy/np_init_op.h | 41 +++-
src/operator/numpy/np_tril_op-inl.h | 233 +++++++++++++++++++++
.../quadratic_op.cc => numpy/np_tril_op.cc} | 56 ++---
.../{random/np_uniform_op.cu => np_tril_op.cu} | 13 +-
src/operator/operator_tune.cc | 1 +
src/operator/tensor/indexing_op.cc | 4 +
src/operator/tensor/indexing_op.cu | 4 +
src/operator/tensor/indexing_op.h | 10 +-
tests/python/unittest/test_numpy_ndarray.py | 45 ++++
tests/python/unittest/test_numpy_op.py | 210 +++++++++++++++++++
19 files changed, 1246 insertions(+), 60 deletions(-)
create mode 100644 src/operator/numpy/np_tril_op-inl.h
copy src/operator/{contrib/quadratic_op.cc => numpy/np_tril_op.cc} (50%)
copy src/operator/numpy/{random/np_uniform_op.cu => np_tril_op.cu} (76%)