Function numcodecs_linear_quantize::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