pytorch_scatter icon indicating copy to clipboard operation
pytorch_scatter copied to clipboard

Difference between this function and torch.Tensor.scatter_reduce_

Open cinntamani opened this issue 1 year ago • 1 comments

Hello,

It seems that this function achieves the same effect as torch.Tensor.scatter_reduce_(dim, index, src, reduce, *, include_self=True) in native PyTorch (https://pytorch.org/docs/stable/generated/torch.Tensor.scatter_reduce_.html).

May I ask what are the pros and cons of using either version?

Thank you!

cinntamani avatar Aug 03 '24 18:08 cinntamani

I see "The backward pass is implemented only for src.shape == index.shape." on the native torch implementation and I believe he backward pass is implemented here in all cases.

SamGalanakis avatar Aug 23 '24 13:08 SamGalanakis

This issue had no activity for 6 months. It will be closed in 2 weeks unless there is some new activity. Is this issue already resolved?

github-actions[bot] avatar Feb 20 '25 01:02 github-actions[bot]