diff --git a/paddle/fluid/framework/executor.cc b/paddle/fluid/framework/executor.cc index d411ae3466d89fe93ac5603085b4d80f115d3e71..ce91d7a82674364560b8065277b28b51ae1b303a 100644 --- a/paddle/fluid/framework/executor.cc +++ b/paddle/fluid/framework/executor.cc @@ -353,7 +353,7 @@ void Executor::RunPreparedContext(ExecutorPrepareContext* ctx, Scope* scope, scope->DeleteScope(local_scope); } else { // Delete the local scopes created in operators. - // scope->DropKids(); + scope->DropKids(); } if (FLAGS_benchmark) { VLOG(2) << "-------------------------------------------------------";