Commit fd833e87 authored by Adria Puigdomenech's avatar Adria Puigdomenech Committed by TensorFlower Gardener
Browse files

Add `batch_scatter_update`, analogous to `batch_gather`.

This operation computes:

 ref[i_1, ..., i_n, indices[i_1, ..., i_n, j]] = updates[i_1, ..., i_n, j]

That is, it assumes that `ref`, `indices` and `updates` have a series of leading dimensions that are the same for all of them, and the updates are performed on the last dimension of indices.

PiperOrigin-RevId: 209566652
parent 9e310b62
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment