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/14 04:58:52 UTC

[incubator-mxnet] branch master updated (e3d7866 -> 8e3f0f3)

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 e3d7866  [Numpy] FFI: random.choice, take and clip (#17854)
     add 8e3f0f3  * impl - linalg matrix_rank for cpu and gpu implemented (#18020)

No new revisions were added by this update.

Summary of changes:
 benchmark/python/ffi/benchmark_ffi.py              |   9 +-
 python/mxnet/ndarray/numpy/linalg.py               |  47 ++-
 python/mxnet/numpy/fallback_linalg.py              |   2 -
 python/mxnet/numpy/linalg.py                       |  43 +-
 python/mxnet/numpy_dispatch_protocol.py            |   1 +
 python/mxnet/symbol/numpy/linalg.py                |  35 +-
 .../numpy/linalg/{np_pinv.cc => np_matrix_rank.cc} |  41 +-
 src/operator/numpy/linalg/np_matrix_rank-inl.h     | 449 +++++++++++++++++++++
 src/operator/numpy/linalg/np_matrix_rank.cc        | 165 ++++++++
 .../linalg/{np_lstsq.cu => np_matrix_rank.cu}      |  15 +-
 .../python/unittest/test_numpy_interoperability.py |  29 +-
 tests/python/unittest/test_numpy_op.py             |  77 ++++
 12 files changed, 873 insertions(+), 40 deletions(-)
 copy src/api/operator/numpy/linalg/{np_pinv.cc => np_matrix_rank.cc} (68%)
 create mode 100644 src/operator/numpy/linalg/np_matrix_rank-inl.h
 create mode 100644 src/operator/numpy/linalg/np_matrix_rank.cc
 copy src/operator/numpy/linalg/{np_lstsq.cu => np_matrix_rank.cu} (71%)