From 55feba9b5ad624a97e81e9e69fb8ef09df0c084b Mon Sep 17 00:00:00 2001 From: Yu Yang Date: Mon, 23 Apr 2018 17:11:04 +0800 Subject: [PATCH] Fix CPU compile --- paddle/fluid/framework/details/multi_devices_graph_builder.cc | 4 ++-- paddle/fluid/framework/details/multi_devices_graph_builder.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/paddle/fluid/framework/details/multi_devices_graph_builder.cc b/paddle/fluid/framework/details/multi_devices_graph_builder.cc index f27f1843107..10d39e77933 100644 --- a/paddle/fluid/framework/details/multi_devices_graph_builder.cc +++ b/paddle/fluid/framework/details/multi_devices_graph_builder.cc @@ -44,8 +44,8 @@ MultiDevSSAGraphBuilder::MultiDevSSAGraphBuilder( MultiDevSSAGraphBuilder::MultiDevSSAGraphBuilder( const std::vector &places, const std::string &loss_var_name, - const std::unordered_set ¶ms, bool skip_scale_loss, - const std::vector &local_scopes) + const std::unordered_set ¶ms, + const std::vector &local_scopes, bool skip_scale_loss) : loss_var_name_(loss_var_name), places_(places), local_scopes_(local_scopes) { diff --git a/paddle/fluid/framework/details/multi_devices_graph_builder.h b/paddle/fluid/framework/details/multi_devices_graph_builder.h index f2428b01ca9..009c31b40c2 100644 --- a/paddle/fluid/framework/details/multi_devices_graph_builder.h +++ b/paddle/fluid/framework/details/multi_devices_graph_builder.h @@ -40,8 +40,8 @@ class MultiDevSSAGraphBuilder : public SSAGraphBuilder { MultiDevSSAGraphBuilder(const std::vector &places, const std::string &loss_var_name, const std::unordered_set ¶ms, - bool skip_scale_loss, - const std::vector &local_scopes); + const std::vector &local_scopes, + bool skip_scale_loss); #endif std::unique_ptr Build(const ProgramDesc &program) const override; -- GitLab