numcodecs_linear_quantize

Function reconstruct_into

Source
pub fn reconstruct_into<T: Float + DeserializeOwned, Q: Unsigned>(
    encoded: &[Q],
    decoded: ArrayViewMutD<'_, T>,
    floatify: impl Fn(Q) -> T,
) -> Result<(), LinearQuantizeCodecError>
Expand description

Reconstruct the linear-quantized encoded array using the floatify closure into the decoded array.

ยงErrors

Errors with