diff options
author | Shanqing Cai <cais@google.com> | 2016-10-21 05:25:44 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-10-21 06:38:16 -0700 |
commit | 00526b6f8682cc535d8fbd69cc00a396e6549825 (patch) | |
tree | 3550ad319ea06a9b2cbe2a774654d923690b1b9c /WORKSPACE | |
parent | e9e56f2b18d37bcab5a12db95b81c2892667a907 (diff) |
tfdbg: Watch output tensors without emitted edges
Currently, DebugNodeInserter is capable of only watching node output slots that have data edges (i.e., non-control edges) emitting from them. However, it would be useful to watch node output slots that do not have edges emitting from them, or output slots in nodes that have only control edges emitting from them.
A common case is in the optimization ops in the backward paths of a training graph, where the train ops receives control edges from a number of nodes that each update the value of a Variable. Each of these Variable-updating nodes has a data output slot (slot 0), but those slots are not connected to any data edges. In the watch list, if you specify variable_updating_op:0, this tensor will not get watched without this CL.
This CL adds the ability to watch such nodes' outputs. The CL also makes it possible to watch output slots that do not have any control or non-control edges emitting from them.
Change: 136825445
Diffstat (limited to 'WORKSPACE')
0 files changed, 0 insertions, 0 deletions