pub fn fsq_dequantize(
tokens: &[u16],
levels: &[u16],
lo: f32,
hi: f32,
out: &mut [f32],
) -> Result<(), AudioError>Expand description
Reconstruct latent components from FSQ level indices: out[d] = lo + tokens[d]·step_d.
tokens: at leastdimlevel indices (each clamped into0..L_d).levels,lo,hi: same asfsq_quantize.out: at leastdimfloats; fully overwritten.
§Errors
AudioError::InvalidParameteriflevelsis empty, anyL_d == 0, orhi <= lo.AudioError::OutputBufferTooSmalliftokensoroutare shorter thandim.