Skip to main content

denormalize

Function denormalize 

Source
pub fn denormalize(
    input: &ArrayD<f64>,
    mean: &[f64],
    std: &[f64],
) -> Result<ArrayD<f64>, AugmentationError>
Expand description

Denormalize input: x * std[c] + mean[c] (inverse of normalize).