ndarray
autograd
loss
CSRNDArray.
dtype
Data-type of the array’s elements.
This NDArray’s data type.
numpy.dtype
Examples
>>> x = mx.nd.zeros((2,3)) >>> x.dtype <type 'numpy.float32'> >>> y = mx.nd.zeros((2,3), dtype='int32') >>> y.dtype <type 'numpy.int32'>