From 03884f0fd9578897fbd0177abd3b64e175401387 Mon Sep 17 00:00:00 2001 From: dzhwinter Date: Mon, 19 Jun 2017 20:35:21 +0800 Subject: [PATCH] formatter --- paddle/optimizer/parameter_optimizer.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/paddle/optimizer/parameter_optimizer.cc b/paddle/optimizer/parameter_optimizer.cc index 7f61196c1f..a7362f0780 100644 --- a/paddle/optimizer/parameter_optimizer.cc +++ b/paddle/optimizer/parameter_optimizer.cc @@ -27,9 +27,9 @@ ParameterOptimizer *ParameterOptimizer::Create(const std::string &config_proto, return new ConstLr(0.1); }; LrPolicy *lr = select_lr_policy(config); - auto select_optimizer = - [=](Tensor *parameter, - const OptimizerConfig &config) -> ParameterOptimizer * { + auto select_optimizer = [=]( + Tensor *parameter, + const OptimizerConfig &config) -> ParameterOptimizer * { if (config.optimizer() == OptimizerConfig::SGD) { return new SGDOptimizer(parameter, lr, -- GitLab