aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/debug
diff options
context:
space:
mode:
authorGravatar Shanqing Cai <cais@google.com>2016-10-19 16:19:51 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-10-19 17:33:23 -0700
commit2e01d79cb6a119e2200d863a2414dee4dcf42e42 (patch)
tree8011fef747b107098bf31411e017eada488fcacd /tensorflow/core/debug
parent5e176998d92a64d78df57e9fb78582e5e7e4ebb6 (diff)
tfdbg: Remove assertion that _SINK node gets executed by the executor
Change: 136663053
Diffstat (limited to 'tensorflow/core/debug')
-rw-r--r--tensorflow/core/debug/debug_gateway_test.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/tensorflow/core/debug/debug_gateway_test.cc b/tensorflow/core/debug/debug_gateway_test.cc
index 0e5a705a46..c5e73f0439 100644
--- a/tensorflow/core/debug/debug_gateway_test.cc
+++ b/tensorflow/core/debug/debug_gateway_test.cc
@@ -168,11 +168,9 @@ TEST_F(SessionDebugMinusAXTest, RunSimpleNetwork) {
// NodeOutputCallback as well.
ASSERT_GT(completed_nodes_wo_outputs.size(), 0);
- // The DebugGateway should have captured the _SOURCE and _SINK nodes.
+ // The DebugGateway should have captured the _SOURCE node.
ASSERT_LE(1, std::count(completed_nodes_wo_outputs.begin(),
completed_nodes_wo_outputs.end(), "_SOURCE"));
- ASSERT_LE(1, std::count(completed_nodes_wo_outputs.begin(),
- completed_nodes_wo_outputs.end(), "_SINK"));
// Verify the calling history of the value callabck
ASSERT_EQ(completed_nodes_w_outputs.size(), tensors_initialized.size());