Say for example I have
transform = transforms.Compose([
    transforms.Resize(256),
    transforms.RandomCrop(224),
    transforms.ToTensor(),
    transforms.Normalize(
        mean = [0.485, 0.456, 0.406],
        std = [0.229, 0.224, 0.225]
    )
])

and I use it to augment a dataset CustomDataset(transform=transform). Is transform being run for every batch, for every epoch, or is it run only one? I’m curious to know because what if I were to use albumentations’ A.OneOf, how often would it have to randomly select among provided transformations?