W3cubDocs

/NumPy 1.11

numpy.dtype.shape

dtype.shape

Shape tuple of the sub-array if this data type describes a sub-array, and () otherwise.

© 2008–2016 NumPy Developers
Licensed under the NumPy License.
https://docs.scipy.org/doc/numpy-1.11.0/reference/generated/numpy.dtype.shape.html