Parameter.list_row_sparse_data

Parameter.list_row_sparse_data(self, row_id)

Returns copies of the ‘row_sparse’ parameter on all contexts, in the same order as creation. The copy only retains rows whose ids occur in provided row ids. The parameter must have been initialized before.

Parameters:
row_id: NDArray

Row ids to retain for the ‘row_sparse’ parameter.

Returns:
list of NDArrays