Yes I had done that. But why is it this way ??..I mean most programs will have a batch size, and in that if you will have to apply transform to each image it takes up a lot of time because you will have to store these intermediate results in another tensor.
This is a very inefficient way of performing a transform. Is there any way of doing this differently ??
@richard Do you have any suggestions  ??