mxnet.ndarray.sparse.RowSparseNDArray.copyto¶
-
RowSparseNDArray.
copyto
(other)[source]¶ Copies the value of this array to another array.
If
other
is aNDArray
orRowSparseNDArray
object, thenother.shape
andself.shape
should be the same. This function copies the value fromself
toother
.If
other
is a context, a newRowSparseNDArray
will be first created on the target context, and the value ofself
is copied.- Parameters
other (NDArray or RowSparseNDArray or Context) – The destination array or context.
- Returns
The copied array. If
other
is anNDArray
orRowSparseNDArray
, then the return value andother
will point to the sameNDArray
orRowSparseNDArray
.- Return type