提交 f67eb117 编写于 作者: L liaogang

auto format readme by precommit

上级 4d6c4681
...@@ -279,7 +279,7 @@ parameters = paddle.parameters.create(cost) ...@@ -279,7 +279,7 @@ parameters = paddle.parameters.create(cost)
Before jumping into creating a training module, algorithm setting is also necessary. Here we specified Adam optimization algorithm via `paddle.optimizer`. Before jumping into creating a training module, algorithm setting is also necessary. Here we specified Adam optimization algorithm via `paddle.optimizer`.
```python ```python
trainer = paddle.trainer.SGD(cost=cost, parameters=parameters, trainer = paddle.trainer.SGD(cost=cost, parameters=parameters,
update_equation=paddle.optimizer.Adam(learning_rate=1e-4)) update_equation=paddle.optimizer.Adam(learning_rate=1e-4))
``` ```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册