nums.numpy.shape
nums.numpy.shape#
- nums.numpy.shape(a: nums.core.array.blockarray.BlockArray)#
Return the shape of an array.
This docstring was copied from numpy.shape.
Some inconsistencies with the NumS version may exist.
- aBlockArray
Input array.
- shapetuple of ints
The elements of the shape tuple give the lengths of the corresponding array dimensions.
The doctests shown below are copied from NumPy. They won’t show the correct result until you operate
get().>>> nps.shape(nps.eye(3)) (3, 3)