From 08352fe56a1e915b415775d772ad350bea85c4a5 Mon Sep 17 00:00:00 2001 From: Xin Pan Date: Fri, 24 Aug 2018 17:00:23 +0800 Subject: [PATCH] fix --- paddle/fluid/framework/ir/graph_to_program_pass_test.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/paddle/fluid/framework/ir/graph_to_program_pass_test.cc b/paddle/fluid/framework/ir/graph_to_program_pass_test.cc index 9aa2ea7664..88ad17a0c6 100644 --- a/paddle/fluid/framework/ir/graph_to_program_pass_test.cc +++ b/paddle/fluid/framework/ir/graph_to_program_pass_test.cc @@ -86,8 +86,6 @@ TEST(GraphToProgramPass, Basic) { pass->SetNotOwned("program", &compiled_prog); pass->Apply(std::move(g)); std::vector ops = compiled_prog.Block(0).AllOps(); - compiled_prog.Flush(); - LOG(ERROR) << compiled_prog.Proto()->DebugString(); EXPECT_EQ(ops[0]->Type(), "op1"); EXPECT_EQ(ops[1]->Type(), "op2"); if (ops[2]->Type() == "op3") { -- GitLab