Some transformations would already work on tensors in the latest torchvision release.
However, you could use transforms.ToPILImage() to transform the input tensors to Images first, apply the transformations, and transform them back to tensors.
I’m not sure, if this is the issue or where you are stuck exactly.
PS: you can add code snippets by wrapping them into three backticks ```, which makes debugging easier