class tensorstore.dtype

TensorStore data type representation.

Constructors

dtype(dtype: DTypeLike)

Construct by name or from an existing TensorStore or NumPy data type.

Accessors

property name : str

Name of the data type.

to_json() str

JSON representation of the data type.

property numpy_dtype : numpy.dtype

NumPy data type corresponding to this TensorStore data type.

property type : type

Python type object corresponding to this TensorStore data type.

Conversion

__call__(arg: object) object

Construct a scalar instance of this data type.