Long Tensor([0,0]) print torch.index_select (t, 0, index) # 1 2 # 1 2 print torch.index_select (t, 1, ... Long Tensor of size 4x1] ( 1 1 [torch.
確定! 回上一頁