I was planning on implementing ScatterND operator for TFLite Frontend, which takes indices, updates and shapes as arguments, by:
- Splitting the indices into seperate tensors (using split Relay Op).
- Use strided_slice to get the value(s) currently at the index/slice.
- Add the update value(s) to the present value(s).
- Use strided_set to set the value(s).
Is there any better/more efficient way to implement ScatterND operator?