Skip to content

Commit

Permalink
Merge pull request zergtant#1 from xiaoyubing/master
Browse files Browse the repository at this point in the history
Update 2_autograd_tutorial.ipynb
  • Loading branch information
zergtant authored Feb 17, 2019
2 parents a120fe9 + 803dce0 commit bb42418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapter1/2_autograd_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"``torch.Tensor``是这个包的核心类.如果设置\n",
"``.requires_grad`` 为 ``True``, 那么将会追踪多有对于该张量的操作. \n",
"当完成计算后通过调用 ``.backward()``会自动计算所有的梯度.\n",
"这个张量的所有提多将会自动积累到 ``.grad`` 属性.\n",
"这个张量的所有梯度将会自动积累到 ``.grad`` 属性.\n",
"\n",
"要阻止张量跟踪历史记录,可以调用``.detach()``方法将其与计算历史记录分离,并禁止跟踪它将来的计算记录。\n",
"\n",
Expand Down

0 comments on commit bb42418

Please sign in to comment.