提交 08352fe5 编写于 作者: X Xin Pan

fix

上级 6fdb7f53
......@@ -86,8 +86,6 @@ TEST(GraphToProgramPass, Basic) {
pass->SetNotOwned<paddle::framework::ProgramDesc>("program", &compiled_prog);
pass->Apply(std::move(g));
std::vector<OpDesc*> 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") {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册