Const
Readonly
bool: RuntimeDType<Bool>Readonly
float32: RuntimeDType<Float32>Readonly
float64: RuntimeDType<Float64>Readonly
int16: RuntimeDType<Int16>Readonly
int32: RuntimeDType<Int32>Readonly
int64: RuntimeDType<Int64>Readonly
int8: RuntimeDType<Int8>Readonly
uint16: RuntimeDType<Uint16>Readonly
uint32: RuntimeDType<Uint32>Readonly
uint64: RuntimeDType<Uint64>Readonly
uint8: RuntimeDType<Uint8>
Precomputed DType instances for efficient lookup Uses singleton pattern to ensure consistent instances
NOTE: Order matters for getTypedArrayDType when multiple dtypes use the same TypedArray constructor. uint8 comes before bool so that raw Uint8Array instances default to uint8 (the more common interpretation).