Solved by yash1994 in post #2 
              
              
                Hi, 
There is no built-in function/transformation available in Pytorch for Random Transpose. But you can build a custom data loader and call transpose on image tensor randomly. Something like this. In __getitem__ function you have to set a flag true/false randomly and on the basis of that flag you c…