pytorch / 2 / generated / torch.index_reduce.html

torch.index_reduce

torch.index_reduce(input, dim, index, source, reduce, *, include_self=True, out=None) → Tensor

See index_reduce_() 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_reduce.html