tensorstore.Schema.ndim : int | None

Alias for rank.

Example

>>> schema = ts.Schema(rank=3)
>>> schema.ndim
3