Skip to content

Commit 291a2b8

Browse files
Update autograd_tutorial.py, added whitespace #2802 (#2815)
* Update formatting in the autograd_tutorial.py --------- Co-authored-by: Svetlana Karslioglu <svekars@meta.com>
1 parent d8ae8a6 commit 291a2b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beginner_source/blitz/autograd_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@
266266
z = torch.rand((5, 5), requires_grad=True)
267267

268268
a = x + y
269-
print(f"Does `a` require gradients? : {a.requires_grad}")
269+
print(f"Does `a` require gradients?: {a.requires_grad}")
270270
b = x + z
271271
print(f"Does `b` require gradients?: {b.requires_grad}")
272272

0 commit comments

Comments
 (0)