torch.scatter_reduce

torch.scatter_reduce(input, dim, index, src, reduce, *, include_self=True) → Tensor

Out-of-place version of torch.Tensor.scatter_reduce_()

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