mixmo.augmentations.mixing_blocks._mixup_mask

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

Compute masks for MixUp (constant masks)