These are the transforms that I am applying. But I am confused whether each transformation is applied on original image or they are applied in sequence. It mean first grayscale is applied then on the gray scaled image resizing is applied and random resizef crop is applied on already resized image. To me it look like they work in sequential way. How can I apply each transformation on the input image individually.
data_transforms = transforms.Compose([
transforms.Grayscale(),
transforms.Resize(224),
transforms.RandomResizedCrop(224),
transforms.ToTensor(),
])