[TF:XLA] Implement ScatterNd.
Add a helper method for performing scatter operations. Share it between ScatterNd and UnsortedSegmentSum implementations. In passing, add support for negative indices to the UnsortedSegmentSum implementation. Added helper methods for creating XLA while loops. Use the new helper in both Gather and Scatter ops. PiperOrigin-RevId: 185469229
Loading
Please sign in to comment