DType

Element data type of a tensor.

Union cases

NameDescription
BF16Brain floating-point (16-bit) float.
BoolBoolean.
F16IEEE 754 half-precision (16-bit) float.
F32Single-precision (32-bit) float.
F64Double-precision (64-bit) float.
I32Signed 32-bit integer.
I64Signed 64-bit integer.
U8Unsigned 8-bit integer.

Instance members

NameDescription
this.IsBF16
this.IsBool
this.IsF16
this.IsF32
this.IsF64
this.IsI32
this.IsI64
this.IsU8