Essentially, torch.index_select with dim=1 works the same as doing a direct indexing on the second axis with x[:, indices] .
確定! 回上一頁