How to index 2 dimensional Tensor using another 2 dimensional Tensor

Hi all, I want to index 2 dimension tensor using another 2 dimension tensor. My first tensor points is torch.Size([2048, 3]), and second tensor neighbour is torch.Size([2048, 27]), I want to do a operation like this points[neighbor, :] , I think it can work in numpy but I do not know how to make it work in Pytorch.