Skip to content

Commit

Permalink
Update autograd.md
Browse files Browse the repository at this point in the history
  • Loading branch information
thy960112 committed Feb 15, 2019
1 parent 6ea9b8e commit 12c0c3d
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 12c0c3d

Please sign in to comment.