-
tensorstore.Dim(inclusive_min: int | None =
-inf, exclusive_max: int | None =+inf, *, label: str | None =None, implicit_lower: bool | None =None, implicit_upper: bool | None =None) Constructs a half-open interval
[inclusive_min, exclusive_max).- Parameters:¶
- inclusive_min: int | None =
-inf¶ Inclusive lower bound.
- exclusive_max: int | None =
+inf¶ Exclusive upper bound.
- label: str | None =
None¶ - implicit_lower: bool | None =
None¶ Indicates whether the lower bound is implicit. Defaults to
Falseifinclusive_minis specified, otherwiseTrue.- implicit_upper: bool | None =
None¶ Indicates whether the upper bound is implicit. Defaults to
Falseifexclusive_maxis specified, otherwiseTrue.
- inclusive_min: int | None =
Examples
>>> x = ts.Dim(5, 10) >>> x Dim(inclusive_min=5, exclusive_max=10) >>> print(x) [5, 10)