Commit 135fee16 authored by Skye Wanderman-Milne's avatar Skye Wanderman-Milne Committed by TensorFlower Gardener
Browse files

Fix bug in tf.gradients.

This is fixing in a bug where we'd incorrectly match up gradients
tensors with the corresponding forward-pass tensors due to filtering
out captured EagerTensors. This could lead to errors about incompatible
gradient shapes or, even worse, the wrong gradient value.

PiperOrigin-RevId: 235271326
parent 8be0d24c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment