torch.Tensor.index_add
-
Tensor.
index_add
(dim, index, source, *, alpha=1) → Tensor Out-of-place version of
torch.Tensor.index_add_()
.
Tensor.
index_add
(dim, index, source, *, alpha=1) → TensorOut-of-place version of torch.Tensor.index_add_()
.