tensorstore.IndexDomain.size : int

Total number of elements in the domain.

This is simply the product of the extents in shape.

Example

>>> domain = ts.IndexDomain(inclusive_min=[1, 2, 3], shape=[3, 4, 5])
>>> domain.size
60