numpy.lib.Arrayterator.shape

Arrayterator.shape

The shape of the array to be iterated over.

For an example, see Arrayterator.