首先,先给出torch.gather函数的函数定义:torch.gather(input, dim, index, out=None) → Tensor官方给出的解释是这样的:沿给定轴dim,将输入索引张量index指定位置 ...
確定! 回上一頁