Skip to content

Commit 6549007

Browse files
authored
Update beginner_source/examples_autograd/polynomial_custom_function.py
1 parent e3d998b commit 6549007

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beginner_source/examples_autograd/polynomial_custom_function.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def forward(ctx, input):
3636
to stash information for backward computation. You can cache tensors for
3737
use in the backward pass using the ``ctx.save_for_backward`` method. Other
3838
objects can be stored directly as attributes on the ctx object, such as
39-
ctx.my_object = my_object. Check out `Extending torch.autograd <https://docs.pytorch.org/docs/stable/notes/extending.html#extending-torch-autograd>`_
39+
``ctx.my_object = my_object``. Check out `Extending torch.autograd <https://docs.pytorch.org/docs/stable/notes/extending.html#extending-torch-autograd>`_
4040
for further details.
4141
"""
4242
ctx.save_for_backward(input)

0 commit comments

Comments
 (0)