How augmentation is applied in torch vision

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([

Yes, the Compose transformation will apply these transformations sequentially.
If you want to apply these transformation on the same input image individually and create multiple outputs, you could apply them directly:

out1 = transforms.Grayscale()(input)
out2 = transforms.Resize(224)(input)
out3 = ...

Of course you could also define these transformations in a list and index it etc.