def set_mixup_transform(self, mixup_transform: Optional['MixupTransform']):
    'Disable / enable mixup transform for data augmentation\n\n        Args::\n            mixup_transform: a callable object which performs mixup data augmentation\n        '
    self.mixup_transform = mixup_transform
    if (mixup_transform is None):
        logging.info('mixup disabled')
    else:
        logging.info('mixup enabled')
    return self
Disable / enable mixup transform for data augmentation

Args::
    mixup_transform: a callable object which performs mixup data augmentation
def set_mixup_transform(self, mixup_transform: Optional['MixupTransform']):
    'Disable / enable mixup transform for data augmentation\n\n        Args::\n            mixup_transform: a callable object which performs mixup data augmentation\n        '
    self.mixup_transform = mixup_transform
    if (mixup_transform is None):
        logging.info('mixup disabled')
    else:
        logging.info('mixup enabled')
    return self