Commit 4c75fb1c authored by A. Unique TensorFlower's avatar A. Unique TensorFlower Committed by TensorFlower Gardener
Browse files

Improve error message reporting for check_numerics gradient.

At present the op message is only printed if the numeric check fails during
the op's 'forward' computation. If the check fails during the gradient, there is no
identifier on *which* op's gradient failed.

This is the Python equivalent of
https://github.com/tensorflow/tensorflow/commit/7e48bada

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