torch.Tensor.scatter_reduce¶ Tensor.scatter_reduce(dim, index, src, reduce, *, include_self=True) → Tensor¶ torch.Tensor.scatter_reduce_() 的非就地版本