numcodecs_linear_quantize

Function reconstruct

Source
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