torch.gather(input, dim, index, out=None) → Tensor 定义:沿给定轴dim,将输入input中索引张量index指定位置的值进行聚合。 (1) input代表要处理的张量。
確定! 回上一頁