Nested array
- class ivy.nested_array.nested_array.NestedArray(data, dtype, device, internal=False)[source]
Bases:
ABC
Base class for nested array objects.
- property data: NativeArray
The native array being wrapped in self.
- Return type
NativeArray
- property device: Device
Hardware device the array data resides on.
- Return type
Device
- property dtype: Dtype
Data type of the array elements
- Return type
Dtype
- property ndim: int
Number of array dimensions (axes).
- Return type
int
- property shape: List
Array dimensions.
- Return type
List