diff options
author | Skye Wanderman-Milne <skyewm@google.com> | 2017-07-20 12:59:39 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-07-20 13:03:54 -0700 |
commit | a2ad9123aad76329cadb35bc6a816e53700eebe4 (patch) | |
tree | 6d7cf8e8126d17e01e203772aaeb65746e1651dc /configure | |
parent | 90802c44a293199b193a1d9e57747cf3e8bb70cd (diff) |
Fix bug in C++ gradient computation where multi-output nodes may not have been processed.
If a subset of the outputs of a multi-output node were included in the
'inputs' argument to AddSymbolicGradients(), they would not be
populated in 'grad_outputs'. This is because the pending count of the
multi-output node would never go to zero (unless the backprop
traversal happened to visit all the output edges, even though not all
were explicitly requested).
This change fixes the bug by processing any remaining requested edges
after finishing the traversal.
PiperOrigin-RevId: 162653892
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions