How to select index over two dimension? - PyTorch Forums
https://discuss.pytorch.org/t/how-to-select-index-over-two-dimension/1009818.11.2017 · Given a = torch.randn(3, 2, 4, 5), how I can select sub tensor like (2, :, 0, :), (1, :, 1, :), (2, :, 2, :), (0, :, 3, :) (a resulting tensor of size (2, 4, 5) or (4 ...