... index types. gather(t1, indices=[0, 3, 6])) # This is similar to doing t1[::3] If you have 3-dimensional or greater data (numpy ndarray, PyTorch Tensor, ...
確定! 回上一頁