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