fp4_quant_e8m0_inplace

Function fp4_quant_e8m0_inplace 

Source
pub fn fp4_quant_e8m0_inplace(x: &mut [f32], block: usize)
Expand description

2026-09-25: The shims’ fp4_act_quant with e8m0 scales, in place: scale = power-of-two ceiling of amax / 6 (amax floored at 6 * 2^-126), values to e2m1, dequantised and rounded to bf16.