dpnp.ndarray.shape

property ndarray.shape

Lengths of axes. A tuple of numbers represents size of each dimension.

Setter of this property involves reshaping without copy. If the array cannot be reshaped without copy, it raises an exception.