tensorstore.ChunkLayout.rank : int

Number of dimensions in the index space.

Example

>>> layout = ts.ChunkLayout(inner_order=[0, 2, 1])
>>> layout.rank
3