Oh, and I see below there’s a ScatterAdd function which would solve my issue of having repeated indices in the input sequence!