tensorstore.IndexTransform.output_rank : int

Rank of the output space.

Example

>>> transform = ts.IndexTransform(input_shape=[3, 4, 5],
...                               input_labels=["x", "y", "z"],
...                               output=[ts.OutputIndexMap(offset=5)])
>>> transform.output_rank
1