From eb2e68ee6bcf3008291ea64b52ab1dff6f2bc52c Mon Sep 17 00:00:00 2001 From: Yancey1989 Date: Tue, 15 May 2018 16:40:18 +0800 Subject: [PATCH] revert executor run --- paddle/fluid/framework/executor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/framework/executor.cc b/paddle/fluid/framework/executor.cc index d411ae3466d..ce91d7a8267 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) << "-------------------------------------------------------"; -- GitLab