Skip to content

Commit aea3229

Browse files
authored
Update pytorch_tutorial.py
Fix typo
1 parent d235bc2 commit aea3229

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beginner_source/nlp/pytorch_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@
270270
# autograd.Variables (note this is more general than Pytorch. There is an
271271
# equivalent object in every major deep learning toolkit):
272272
#
273-
# **If you want the error from your loss function to backpropogate to a
273+
# **If you want the error from your loss function to backpropagate to a
274274
# component of your network, you MUST NOT break the Variable chain from
275275
# that component to your loss Variable. If you do, the loss will have no
276276
# idea your component exists, and its parameters can't be updated.**

0 commit comments

Comments
 (0)