diff options
author | Skye Wanderman-Milne <skyewm@google.com> | 2017-09-27 13:28:30 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-09-27 13:32:17 -0700 |
commit | 301b14c240fe99249dc2225132a7ebe5cbecbdc4 (patch) | |
tree | 8de10cf0180ff41211b294c05cae199208487c85 /third_party/swig.BUILD | |
parent | 545e3572f7d8928eeb220e8b55c71ad33a9343c6 (diff) |
Basic while loop gradient functionality in C++
This change introduces the basic framework to create the gradient
graph of a while loop using the C++ API. This supports building the
gradient graph as long as the body function of the while loop contains
no ops whose gradient function requires a stack. In other words, it
doesn't support gradient functions that use the input values to the op
(e.g. add will work, but multiply will not). It also doesn't support
nested while loops, and doesn't detect all error cases.
PiperOrigin-RevId: 170243281
Diffstat (limited to 'third_party/swig.BUILD')
0 files changed, 0 insertions, 0 deletions