提交 16f45ce3 编写于 作者: A A. Unique TensorFlower 提交者: Martin Wicke

Change test for MaxExecutionTime to allow time 0, in

direct_session_with_tracking_alloc_test.
Change: 124970170
上级 b3ef2b08
......@@ -100,7 +100,7 @@ TEST(DirectSessionWithTrackingAllocTest, CostModelTest) {
// Check the execution time. Since it's highly variable, we'll
// use a large window: anything between 1 and 10000 microseconds is
// considered ok.
EXPECT_LE(1, cm->MaxExecutionTime(node));
EXPECT_LE(0, cm->MaxExecutionTime(node));
EXPECT_GE(10000, cm->MaxExecutionTime(node));
}
graph_cnt++;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册