pub fn quantize(v: &[f32]) -> (Vec<i8>, f32)Expand description
Per-vector scale for quantize: reconstructed component =
byte as f32 * scale. Stored beside each exemplar (4 bytes); keeps
int8 steps proportional to the vector’s own range instead of a
global guess.