From 89728f8e66d078ecc6cae24a93b8931de8250b16 Mon Sep 17 00:00:00 2001 From: Yu Yang Date: Tue, 17 Apr 2018 16:42:40 +0800 Subject: [PATCH] update --- paddle/fluid/framework/parallel_executor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/framework/parallel_executor.cc b/paddle/fluid/framework/parallel_executor.cc index 186ddbe369b..c63162d2ff6 100644 --- a/paddle/fluid/framework/parallel_executor.cc +++ b/paddle/fluid/framework/parallel_executor.cc @@ -177,7 +177,7 @@ void ParallelExecutor::Run( InitializeVariable(scope->Var(std::get<0>(name_type_pair)), std::get<1>(name_type_pair)); } else { - InitializeVariable(scope->Var(std::get<0>(name_type_pair)), + InitializeVariable(local_scope.Var(std::get<0>(name_type_pair)), std::get<1>(name_type_pair)); } } -- GitLab