mixmo.augmentations.mixing_blocks._patchup_mask

mixmo.augmentations.mixing_blocks._patchup_mask(input_size, lam, config_mix)[source]

Compute masks for PatchUp mixing https://github.com/chandar-lab/PatchUp