Skip to main content

assert_level_supported

Function assert_level_supported 

Source
pub fn assert_level_supported(level: QuantLevel)
Expand description

Panic for a level these kernels cannot reconstruct.

They apply one scale per value and never consult the level, so a per-tensor scale would be dropped and every value would come back short by that factor. Levels are matched exhaustively so a new one has to make a support decision here rather than inherit silence.