mxnet.gluon.Parameter.row_sparse_data¶
-
Parameter.
row_sparse_data
(row_id)[source]¶ Returns a copy of the ‘row_sparse’ parameter on the same context as row_id’s. The copy only retains rows whose ids occur in provided row ids. The parameter must have been initialized on this context before.
- Parameters
row_id (NDArray) – Row ids to retain for the ‘row_sparse’ parameter.
- Returns
- Return type
NDArray on row_id’s context