def augmentation_transform(self, data):
    'Transforms input data with specified augmentation.'
    for aug in self.auglist:
        data = aug(data)
    return data
Transforms input data with specified augmentation.
def augmentation_transform(self, data):
    
    for aug in self.auglist:
        data = aug(data)
    return data