We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30e14df commit a5309f4Copy full SHA for a5309f4
beginner_source/saving_loading_models.py
@@ -160,7 +160,7 @@
160
# The 1.6 release of PyTorch switched ``torch.save`` to use a new
161
# zip file-based format. ``torch.load`` still retains the ability to
162
# 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``.
+# to use the old format, pass the ``kwarg`` parameter ``_use_new_zipfile_serialization=False``.
164
#
165
# When saving a model for inference, it is only necessary to save the
166
# trained model’s learned parameters. Saving the model’s *state_dict* with
0 commit comments