description: Maps the values of various leaves of the same child to a single result.
View source on GitHub
|
Maps the values of various leaves of the same child to a single result.
All inputs must have the same shape (parent_index must be equal).
The output is given the same shape (output of function must be of equal length).
Note that the operations are on 1-D tensors (as opposed to scalars).
map_many_values(...): Map multiple sibling fields into a new sibling.
map_values(...): Map field into a new sibling.
map_values_anonymous(...): Map field into a new sibling.
View source on GitHub