Commit 99559a34 authored by Shanqing Cai's avatar Shanqing Cai Committed by TensorFlower Gardener
Browse files

tfdbg: fix a bug in graph validation related to tf.while_loops

CL/147488620 fixed a bug where the debugger would hang at Enter and NextIteration nodes under certain conditions. But it introduced another bug where the debug dumps from Enter and NextIteration may get generated later than downstream nodes in the tf.while_loop body, causing "causility violation" during debug_data.DebugDumpDir's validation process under certain conditions (e.g., backpropagation on a dynamic_rnn). This CL fixes that by excluding Enter and NextIteration nodes from the validation process.

Fixes: #8337
Change: 151787432
parent fb56fc90
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment