pub fn compute_residual(original: &[f32], reconstructed: &[f32]) -> Vec<u8>Expand description
Compute the per-element residual original - reconstructed as little-endian f16 bytes.
The output has length original.len() * 2. Caller guarantees original.len() == reconstructed.len().