This is an automated email from the ASF dual-hosted git repository. jxie pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push: new a8e1912 Fix typo in __setitem__ doc (#10657) a8e1912 is described below commit a8e1912b596be69188abdeee6d5b4e40c8ca792e Author: Haibin Lin <linhaibin.e...@gmail.com> AuthorDate: Tue Apr 24 10:28:48 2018 -0700 Fix typo in __setitem__ doc (#10657) --- python/mxnet/ndarray/sparse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/mxnet/ndarray/sparse.py b/python/mxnet/ndarray/sparse.py index 363ed9d..c7355c2 100644 --- a/python/mxnet/ndarray/sparse.py +++ b/python/mxnet/ndarray/sparse.py @@ -400,7 +400,7 @@ class CSRNDArray(BaseSparseNDArray): [ 0., 0., 0.], [ 0., 0., 0.]], dtype=float32) >>> # assign CSRNDArray with same storage type - >>> x = mx.nd.ones('row_sparse', (3,3)).tostype('csr') + >>> x = mx.nd.ones((3,3)).tostype('csr') >>> x[:] = src >>> x.asnumpy() array([[ 1., 1., 1.], -- To stop receiving notification emails like this one, please contact j...@apache.org.