- tensorstore.IndexDomain.intersect(self, other: IndexDomain) IndexDomain
Intersects with another domain.
The
implicit
flag that corresponds to the selected bound is propagated.- Parameters:¶
- other: IndexDomain¶
Object to intersect with.
Example
>>> a = ts.IndexDomain(inclusive_min=[1, 2, 3], ... exclusive_max=[4, 5, 6], ... labels=['x', 'y', '']) >>> a.intersect(ts.IndexDomain(shape=[2, 3, 4])) { "x": [1, 2), "y": [2, 3), [3, 4) }