Skip to main content

quant_linear

Function quant_linear 

Source
pub fn quant_linear(
    mode: QuantLinearMode,
    x: &[f32],
    weight: &QuantizedMatrix,
    bias: Option<&[f32]>,
    m: usize,
    out: &mut [f32],
)
Expand description

Runs one quantized linear in the selected mode; the drop-in used by the armed model paths.