DataType is the S3 class representing a tensor element type.
It is an enum: one singleton object per supported dtype, wrapping the
canonical dtype string. The members are the element types supported by
the r-xla stack:
boolean:
boolsigned integers:
i8,i16,i32,i64unsigned integers:
ui8,ui16,ui32,ui64floats:
f16,bf16,f32,f64complex:
c64,c128
Construct a DataType with as_dtype(). Inspect it with dtype_width()
and the is_dtype_float() family of predicates.