tensorstore.Dim.__iter__(self) Iterator

Enables iteration over the indices contained in the interval.

Raises:

ValueError – If not finite.

Examples

>>> list(ts.Dim(inclusive_min=1, exclusive_max=6))
[1, 2, 3, 4, 5]