- tensorstore.TensorStore.rank : int
Number of dimensions in the domain.
This is equivalent to
self.domain.rank
.Example
>>> dataset = ts.array([[1, 2, 3], [4, 5, 6]], dtype=ts.int32) >>> dataset.rank 2
Number of dimensions in the domain.
This is equivalent to self.domain.rank
.
Example
>>> dataset = ts.array([[1, 2, 3], [4, 5, 6]], dtype=ts.int32)
>>> dataset.rank
2