Table Of Contents
Table Of Contents

NDArray.tostype

NDArray.tostype(stype)[source]

Return a copy of the array with chosen storage type.

See also

mxnet.ndarray.cast_storage()

Returns:A copy of the array with the chosen storage stype
Return type:NDArray, CSRNDArray or RowSparseNDArray