提交 39362a84 编写于 作者: D dongdaxiang

move root_scope->DropKids() into Finalize() so that we do not have to drop all the kids

test=develop
上级 ba15d6b1
......@@ -21,4 +21,5 @@ TEST(LodTensorPrinter, PrintVar) {
paddle::platform::PrintVar(&scope, "NotAVar", "We don't have var");
paddle::framework::Variable* v = scope.Var("NotAVar");
paddle::platform::PrintVar(&scope, "NotAVar", "Now we have a var");
v->Clear();
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册