Commit 1d7c2fa6 authored by ImSheridan's avatar ImSheridan Committed by Rasmus Munk Larsen
Browse files

Raise a nicer error message when trying to call gradients with while loop (#18052)

* Produce a nicer error message when trying to call gradients on a while loop without properly serializing graph via MetaGraphDef

* Fix syntax and lint error

* Fix minor intent: Wrong continued indentation (add 2 spaces)
parent 86868a15
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment