mxnet.ndarray.sparse.RowSparseNDArray.copyto¶
-
RowSparseNDArray.copyto(other)[source]¶ Copies the value of this array to another array.
If
otheris aNDArrayorRowSparseNDArrayobject, thenother.shapeandself.shapeshould be the same. This function copies the value fromselftoother.If
otheris a context, a newRowSparseNDArraywill be first created on the target context, and the value ofselfis copied.- Parameters
other (NDArray or RowSparseNDArray or Context) – The destination array or context.
- Returns
The copied array. If
otheris anNDArrayorRowSparseNDArray, then the return value andotherwill point to the sameNDArrayorRowSparseNDArray.- Return type