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