Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ShusenTang authored Dec 5, 2019
1 parent 543f1b4 commit c98feb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/chapter03_DL-basics/3.3_linear-regression-pytorch.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ print(true_b, dense.bias)
## 小结

* 使用PyTorch可以更简洁地实现模型。
* `torch.utils.data`模块提供了有关数据处理的工具,`torch.nn`模块定义了大量神经网络的层,`torch.nn.init`模块定义了各种初始化方法,`torch.optim`模块提供了模型参数初始化的各种方法
* `torch.utils.data`模块提供了有关数据处理的工具,`torch.nn`模块定义了大量神经网络的层,`torch.nn.init`模块定义了各种初始化方法,`torch.optim`模块提供了很多常用的优化算法

-----------
> 注:本节除了代码之外与原书基本相同,[原书传送门](https://zh.d2l.ai/chapter_deep-learning-basics/linear-regression-gluon.html)
> 注:本节除了代码之外与原书基本相同,[原书传送门](https://zh.d2l.ai/chapter_deep-learning-basics/linear-regression-gluon.html)

0 comments on commit c98feb2

Please sign in to comment.