提交 2e01d79c 编写于 作者: S Shanqing Cai 提交者: TensorFlower Gardener

tfdbg: Remove assertion that _SINK node gets executed by the executor

Change: 136663053
上级 5e176998
......@@ -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());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册