pytorch / 2 / generated / torch.index_add.html

torch.index_add

torch.index_add(input, dim, index, source, *, alpha=1, out=None) → Tensor

See index_add_() for function description.

© 2024, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://pytorch.org/docs/2.1/generated/torch.index_add.html