Skip to content

Commit c98feb2

Browse files
authored
fix typo
1 parent 543f1b4 commit c98feb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/chapter03_DL-basics/3.3_linear-regression-pytorch.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ print(true_b, dense.bias)
224224
## 小结
225225

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

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

0 commit comments

Comments
 (0)