property tensorstore_demo.Dim.sizeint
property Dim.size_aliasint

Size of the interval.

Equal to self.exclusive_max - self.inclusive_min.

Example

>>> ts.Dim(5).size
5
>>> ts.Dim(inclusive_min=3, inclusive_max=7).size
5
>>> ts.Dim().size
9223372036854775807

Note

If the interval is unbounded below or above (i.e. self.finite == False), this value it not particularly meaningful.


Last update: Nov 16, 2024