torch.Tensor.index_add¶ Tensor.index_add(dim, index, source, *, alpha=1) → Tensor¶ torch.Tensor.index_add_() 的异地版本。