Skip to content

Commit

Permalink
Merge pull request d2l-ai#505 from thy960112/master
Browse files Browse the repository at this point in the history
Update autograd.md
  • Loading branch information
astonzhang committed Feb 15, 2019
2 parents 2880c94 + 12c0c3d commit b778d4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapter_prerequisite/autograd.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ with autograd.record():

使用MXNet的一个便利之处是,即使函数的计算图包含了Python的控制流(如条件和循环控制),我们也有可能对变量求梯度。

考虑下面程序,其中包含Python的条件和循环控制。需要强调的是,这里循环(while循环)迭代的次数和条件判断(if语句)的执行都取决于输入`b`的值。
考虑下面程序,其中包含Python的条件和循环控制。需要强调的是,这里循环(while循环)迭代的次数和条件判断(if语句)的执行都取决于输入`a`的值。

```{.python .input n=3}
def f(a):
Expand Down

0 comments on commit b778d4c

Please sign in to comment.