Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e7932fc

Browse files
Fix typo in Introduction to TorchScript Tutorial (#1190)
Co-authored-by: holly1238 <[email protected]>
1 parent 8fea5d3 commit e7932fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

beginner_source/Intro_to_TorchScript_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def forward(self, x, h):
7777
# cell <https://colah.github.io/posts/2015-08-Understanding-LSTMs/>`__–that
7878
# is–it’s a function that is applied on a loop.
7979
#
80-
# We instantiated the module, and made ``x`` and ``y``, which are just 3x4
80+
# We instantiated the module, and made ``x`` and ``h``, which are just 3x4
8181
# matrices of random values. Then we invoked the cell with
8282
# ``my_cell(x, h)``. This in turn calls our ``forward`` function.
8383
#

0 commit comments

Comments
 (0)