tensorstore.ChunkLayout.ndim : int

Alias for rank.

Example

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