ndarray¶
-
class
ndarray(handle, writable=True)¶ ndarray(handle, writable=True):
An array object represents a multidimensional, homogeneous array of fixed-size items. An associated data-type object describes the format of each element in the array (its byte-order, how many bytes it occupies in memory, whether it is an integer, a floating point number, or something else, etc.). Arrays should be constructed using array, zeros or empty. Currently, only c-contiguous arrays are supported.
Arrays should be constructed using array, zeros or empty (refer to the See Also section below). The parameters given here refer to a low-level method (ndarray(…)) for instantiating an array.
For more information, refer to the mxnet.numpy module and examine the methods and attributes of an array.
Parameters: - handle: int
The ndarray handle in backend (C++).
- writable: bool
Indicates whether inplace-assignment is allowed for the array.
See also
Attributes: