Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4667958 commit 720d96aCopy full SHA for 720d96a
1 file changed
beginner_source/blitz/autograd_tutorial.py
@@ -127,8 +127,8 @@
127
print(x.grad)
128
129
###############################################################
130
-# You can also stops autograd from tracking history on Tensors
131
-# with requires_grad=True by wrapping the code block in
+# You can also stop autograd from tracking history on Tensors
+# with ``.requires_grad``=True by wrapping the code block in
132
# ``with torch.no_grad():``
133
print(x.requires_grad)
134
print((x ** 2).requires_grad)
0 commit comments