提交 42a724c4 编写于 作者: S ShusenTang

fix typo #96

上级 03462fc9
......@@ -76,7 +76,7 @@ loss: 0.245370, 0.065155 sec per epoch
## 7.8.3 简洁实现
通过名称为“adam”的`Trainer`实例,我们便可使用Gluon提供的Adam算法。
通过名称为“Adam”的优化器实例,我们便可使用PyTorch提供的Adam算法。
``` python
d2l.train_pytorch_ch7(torch.optim.Adam, {'lr': 0.01}, features, labels)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册