Skip to content

Commit f345d2f

Browse files
committed
Fix quoting
1 parent 3102426 commit f345d2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

intermediate_source/forward_ad_tutorial.py renamed to forward_ad_usage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def fn(x, y):
7171
######################################################################
7272
# Usage with Modules
7373
# --------------------------------------------------------------------
74-
# To use ``nn.Module``s with forward AD, replace the parameters of your
74+
# To use ``nn.Module`` with forward AD, replace the parameters of your
7575
# model with dual tensors before performing the forward pass. At the
7676
# time of writing, it is not possible to create dual tensor
7777
# `nn.Parameter`s. As a workaround, one must register the dual tensor
@@ -96,7 +96,7 @@ def fn(x, y):
9696
######################################################################
9797
# Using Modules stateless API (experimental)
9898
# --------------------------------------------------------------------
99-
# Another way to use ``nn.Module``s with forward AD is to utilize
99+
# Another way to use ``nn.Module`` with forward AD is to utilize
100100
# the stateless API. NB: At the time of writing the stateless API is still
101101
# experimental and may be subject to change.
102102

0 commit comments

Comments
 (0)