- tensorstore.IndexTransform.__getitem__(self, transform: IndexTransform) IndexTransform
Composes this index transform with another index transform.
The resultant transform maps
x
toself(transform(x))
.Examples
>>> a = ts.IndexTransform( ... input_rank=1, ... output=[ts.OutputIndexMap(input_dimension=0, offset=5)]) >>> b = ts.IndexTransform( ... input_rank=1, ... output=[ts.OutputIndexMap(input_dimension=0, offset=3)]) >>> a[b] Rank 1 -> 1 index space transform: Input domain: 0: (-inf*, +inf*) Output index maps: out[0] = 8 + 1 * in[0]