Skip to content

Commit dfb4f9e

Browse files
Update polynomial_custom_function.py
Co-authored-by: Svetlana Karslioglu <[email protected]>
1 parent f6cd010 commit dfb4f9e

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
@@ -34,7 +34,7 @@ def forward(ctx, input):
3434
In the forward pass we receive a Tensor containing the input and return
3535
a Tensor containing the output. ctx is a context object that can be used
3636
to stash information for backward computation. You can cache tensors for
37-
use in the backward pass using the ctx.save_for_backward method. Other
37+
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
3939
ctx.my_object = my_object.
4040
"""

0 commit comments

Comments
 (0)