Skip to content

Commit a5309f4

Browse files
authored
Update saving_loading_models.py (#2803)
1 parent 30e14df commit a5309f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beginner_source/saving_loading_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160
# The 1.6 release of PyTorch switched ``torch.save`` to use a new
161161
# zip file-based format. ``torch.load`` still retains the ability to
162162
# load files in the old format. If for any reason you want ``torch.save``
163-
# to use the old format, pass the ``kwarg``parameter ``_use_new_zipfile_serialization=False``.
163+
# to use the old format, pass the ``kwarg`` parameter ``_use_new_zipfile_serialization=False``.
164164
#
165165
# When saving a model for inference, it is only necessary to save the
166166
# trained model’s learned parameters. Saving the model’s *state_dict* with

0 commit comments

Comments
 (0)