未验证 提交 8d60c549 编写于 作者: 唐树森 提交者: GitHub

Merge pull request #3 from YangEfei/patch-1

fix bug: import numpy library
......@@ -9,6 +9,7 @@
import torch
from IPython import display
from matplotlib import pyplot as plt
import numpy as np
import random
```
......@@ -204,4 +205,4 @@ print(true_b, '\n', b)
* 可以看出,仅使用`Tensor``autograd`模块就可以很容易地实现一个模型。接下来,本书会在此基础上描述更多深度学习模型,并介绍怎样使用更简洁的代码(见下一节)来实现它们。
-----------
> 注:本节除了代码之外与原书基本相同,[原书传送门](https://zh.d2l.ai/chapter_deep-learning-basics/linear-regression-scratch.html)
\ No newline at end of file
> 注:本节除了代码之外与原书基本相同,[原书传送门](https://zh.d2l.ai/chapter_deep-learning-basics/linear-regression-scratch.html)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册