Commit 3392e77c authored by Shanqing Cai's avatar Shanqing Cai Committed by TensorFlower Gardener
Browse files

tfdbg: Add DebugGradientRefIdentity op

Previously, the gradients debugger used DebugGradientIdentity regardless of
whether the input tensor is a reference type or non-reference type. This CL
switches it to a more specific DebugGradientRefIdentity type for reference
type tensors. This ensures that the output of the debug-identity op matches
its input exactly.

DebugGradientIdentity continues to be used for non-reference type tensors.

PiperOrigin-RevId: 181174976
parent 4b3fec75
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment