- tensorstore.Dim.intersect(self, other: Dim) Dim
Intersect with another Dim.
The
implicit
flag that corresponds to the selected bound is propagated. Thelabel
field, if non-empty, must match, and will be propagated.Example
>>> a = ts.Dim(inclusive_min=1, exclusive_max=5, label='x') >>> a.intersect(ts.Dim(size=3)) Dim(inclusive_min=1, exclusive_max=3, label="x")