Skip to content

Commit

Permalink
fix typo in linear-regression.md (d2l-ai#907)
Browse files Browse the repository at this point in the history
  • Loading branch information
lossfunc authored Jul 21, 2021
1 parent 93ba698 commit 8253f8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapter_linear-networks/linear-regression.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ import time
```

为了说明矢量化为什么如此重要,我们考虑(**对向量相加的两种方法**)。
我们实例化两个全1的1000维向量。在一种方法中,我们将使用Python的for循环遍历向量。在另一种方法中,我们将依赖对 `+` 的调用。
我们实例化两个全1的10000维向量。在一种方法中,我们将使用Python的for循环遍历向量。在另一种方法中,我们将依赖对 `+` 的调用。

```{.python .input}
#@tab all
Expand Down

0 comments on commit 8253f8f

Please sign in to comment.