From 33ddc8937105df5edf0e2006b3546018265bf40d Mon Sep 17 00:00:00 2001 From: dongzhihong Date: Mon, 19 Jun 2017 19:20:28 +0000 Subject: [PATCH] formatter in docker --- 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 38fa2bfde93..f6218037925 100644 --- a/paddle/optimizer/parameter_optimizer.cc +++ b/paddle/optimizer/parameter_optimizer.cc @@ -28,9 +28,9 @@ ParameterOptimizer *ParameterOptimizer::Create(const std::string &config_proto, }; 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