Skip to content

Commit

Permalink
fix typo ShusenTang#96
Browse files Browse the repository at this point in the history
  • Loading branch information
ShusenTang committed Feb 23, 2020
1 parent 03462fc commit 42a724c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/chapter07_optimization/7.8_adam.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 42a724c

Please sign in to comment.