pub fn scalar_quantize( quantized: &mut [u8], vec: &[f32], bias: &[f32], lower_bound: f32, multiplier: f32, ) -> u32
Interface of scalar_quantize: scale vector to u8.
scalar_quantize