There’s a function called scatter_add_ that was added into master recently. It’ll be in the next release.
If you want it immediately, you can compile pytorch from source: https://github.com/pytorch/pytorch#from-source 448