How to use Transforms

I am sorry if I keep asking really basic questions but I was wondering how to use transforms. Can I just call them on two tensors? I have a tensor X with images and honestly didn’t know how to use transforms on them.

Do check up the examples given on this page: