提交 33ddc893 编写于 作者: D dongzhihong

formatter in docker

上级 a166e529
7 合并请求!11636[IMPORTANT] MKLDNN layout: Support for sum operator,!8482Release/0.11.0,!8190Release/0.11.0,!8189Release/0.11.0,!6633给线性回归的get-started代码加上了预测的示例~~,!4615Feature/tensor array add python binding,!2386merge with lasted develop branch. Optimizer lib2
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部