tensorstore.IndexDomain.__len__(self) int

Returns the number of dimensions (rank).

Example

>>> domain = ts.IndexDomain(shape=[100, 200, 300])
>>> len(domain)
3