Skip to main content

Module quant

Module quant 

Source
Expand description

Quantization functionality required in views

Modules§

dequantize_aligned
round
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§

assert_level_supported
Panic for a level these kernels cannot reconstruct.
dequantize_aligned
Dequantize a vector of values, where vector_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.