Module quant

Module quant 

Source
Expand description

Quantization functionality required in views

Modules§

dequantize_aligned
unpack_cast_u32
view

Traits§

RunWithQuantType
Run an arbitrary function with the quantization types from the scheme. Useful when concrete types aren’t available.

Functions§

dequantize_aligned
Dequantize a line of values, where line_size * num_quants is a power of two. Unaligned values can’t be dequantized in place.
unpack_cast_u32
Unpack a set of values from u32, and convert to the specified floating point format.