property tensorstore_demo.IndexDomain.sizeint

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

Last update: Nov 16, 2024