Dear Friends
I am new with pytorch tensor, i have a problems, I have a tensor [B, C, H, W], I would like to swap columms in H dimensions, or two rows in W dimension
many thanks
Dear Friends
I am new with pytorch tensor, i have a problems, I have a tensor [B, C, H, W], I would like to swap columms in H dimensions, or two rows in W dimension
many thanks
You can directly index your tensor using the new indices. Could you post a (pseudo-)code showing your use case in case you get stuck?