tensorstore.IndexTransform.input_rank : int

Rank of the input space.

Example

>>> transform = ts.IndexTransform(input_shape=[3, 4, 5],
...                               input_labels=["x", "y", "z"])
>>> transform.input_rank
3