From c09477b05755da2c61862b37c82fc4031bbf04b1 Mon Sep 17 00:00:00 2001 From: Qiao Longfei Date: Tue, 5 Mar 2019 23:13:00 +0800 Subject: [PATCH] revert change --- python/paddle/fluid/parallel_executor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/paddle/fluid/parallel_executor.py b/python/paddle/fluid/parallel_executor.py index 84beb37c1d9..2ebaab3b102 100644 --- a/python/paddle/fluid/parallel_executor.py +++ b/python/paddle/fluid/parallel_executor.py @@ -104,6 +104,7 @@ class ParallelExecutor(object): main_program = main_program if main_program is not None \ else framework.default_main_program() + self._compiled_program = compiler.CompiledProgram(main_program) self._compiled_program.with_data_parallel( loss_name=loss_name, -- GitLab