Contents

NDArray.ScalarType.uint2

A 2-bit unsigned integer.

Declaration

case uint2

Discussion

Two-bit unsigned integers can represent values in the range [0, 3]. This type is used for quantization and in lookup tables.

See Also

Defining sub-byte unsigned integer types