Skip to main content

random_hflip

Function random_hflip 

Source
pub fn random_hflip(
    input: &ArrayD<f64>,
    p: f64,
    rng: &mut AugRng,
) -> Result<ArrayD<f64>, AugmentationError>
Expand description

Random horizontal flip of the last two spatial dimensions with probability p.