pub fn weighted_int8(fp: FpUnit, p: &[f32], values: &[(u16, &[i8])]) -> Vec<f32>Expand description
The weighted sum on the array over cached int8 value rows (each its f16 scale’s bits and its codes): each position’s
probability times its row’s scale, quantized per block of VALUE_BLOCK positions to 8-bit codes at a power-of-two
scale; per value element the block’s exact integer sum against the value codes, rounded once a block; the blocks
added in order.