shape

Get NDArray dimensions

Returns the shape of an NDArray as a list of integers.

Parameters

Returns

The dimensions of the array.

See Also

reshape, ndarray