tensorstore.Schema.dtype : dtype | None

Data type, or None if unspecified.

Example

>>> schema = ts.Schema(rank=3)
>>> print(spec.dtype)
None
>>> spec = ts.Schema(dtype=ts.uint8, rank=3)
>>> spec.dtype
dtype("uint8")