PyTorch Forums
Ask for help! I want to know a best practice about torch.Tensor
googlebot
(Alex)
November 27, 2021, 6:33pm
2
I believe that is done by:
A.gather(-2, I.view(256,960*2,1).expand(-1,-1,1024)).view(256,960,2,1024)
1 Like
show post in topic