tensorstore.Dim(label: str | None = None, *, implicit_lower: bool = True, implicit_upper: bool = True)

Constructs an unbounded interval (-inf, +inf).

Parameters:
label: str | None = None

Dimension label.

implicit_lower: bool = True

Indicates whether the lower bound is implicit.

implicit_upper: bool = True

Indicates whether the upper bound is implicit.

Examples

>>> x = ts.Dim()
>>> print(x)
(-inf*, +inf*)
>>> x.finite
False
>>> x = ts.Dim("x", implicit_upper=False)
>>> print(x)
"x": (-inf*, +inf)
>>> x.finite
False