You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by zh...@apache.org on 2018/04/07 21:49:12 UTC
[incubator-mxnet] branch master updated: Update row_sparse.md
(#10454)
This is an automated email from the ASF dual-hosted git repository.
zhasheng 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 4be7be7 Update row_sparse.md (#10454)
4be7be7 is described below
commit 4be7be76f6f5fa1fcc5708b8b2d4d7eadaf2a1c1
Author: Haibin Lin <li...@gmail.com>
AuthorDate: Sat Apr 7 14:49:06 2018 -0700
Update row_sparse.md (#10454)
---
docs/tutorials/sparse/row_sparse.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/tutorials/sparse/row_sparse.md b/docs/tutorials/sparse/row_sparse.md
index 65b7d05..ffc683f 100644
--- a/docs/tutorials/sparse/row_sparse.md
+++ b/docs/tutorials/sparse/row_sparse.md
@@ -89,18 +89,18 @@ tutorial) to `mx.cpu()`
## Row Sparse Format
-A RowSparseNDArray represents a multidimensional NDArray using two separate 1D arrays:
+A RowSparseNDArray represents a multidimensional NDArray of shape `[LARGE0, D1, .. , Dn]` using two separate 1D arrays:
`data` and `indices`.
- data: an NDArray of any dtype with shape `[D0, D1, ..., Dn]`.
- indices: a 1D int64 NDArray with shape `[D0]` with values sorted in ascending order.
-The ``indices`` array stores the indices of the row slices with non-zeros,
+The ``indices`` array stores the indices of the row slices with **non-zeros**,
while the values are stored in ``data`` array. The corresponding NDArray `dense` represented by RowSparseNDArray `rsp` has
``dense[rsp.indices[i], :, :, :, ...] = rsp.data[i, :, :, :, ...]``
-A RowSparseNDArray is typically used to represent non-zero row slices of a large NDArray of shape [LARGE0, D1, .. , Dn] where LARGE0 >> D0 and most row slices are zeros.
+A RowSparseNDArray is typically used to represent non-zero row slices of a large NDArray of shape `[LARGE0, D1, .. , Dn]` where LARGE0 >> D0 and most row slices are zeros.
Given this two-dimension matrix:
--
To stop receiving notification emails like this one, please contact
zhasheng@apache.org.