torch.gather(input, dim, index, out=None, sparse_grad=False) ... When you do x[_,:] or x[:, _] you select same index in every batch/feature.
確定! 回上一頁