Fixes issue with gradient tape when asking for the gradient of an intermediate tensor.
authorAlexandre Passos <apassos@google.com>
Mon, 21 May 2018 23:37:17 +0000 (16:37 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Mon, 21 May 2018 23:39:58 +0000 (16:39 -0700)
commit753cc5b3f7461b0b3f59605cba10b965aca0e3ad
tree33b6ab1f8cd9c6e8b9d412f88d405c5ae2fa561c
parent433bb8e1fa0b300961a430c2652ad0776dcef187
Fixes issue with gradient tape when asking for the gradient of an intermediate tensor.

PiperOrigin-RevId: 197481473
tensorflow/c/eager/tape.h
tensorflow/python/eager/backprop_test.py
tensorflow/python/eager/pywrap_tfe_src.cc