pub fn dequantize<T>(quantized: T, range: Range<f64>, q_max: T) -> f64where T: Into<f64> + Copy,
Linearly dequantize a value.