pub fn reconstruct<T: Float + DeserializeOwned, Q: Unsigned>(
encoded: &[Q],
floatify: impl Fn(Q) -> T,
) -> Result<ArrayD<T>, LinearQuantizeCodecError>Expand description
Reconstruct the linear-quantized encoded array using the floatify
closure.
ยงErrors
Errors with
LinearQuantizeCodecError::HeaderDecodeFailedif decoding the header failed