Skip to content

Super tiny fix doc rendering #2803

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion beginner_source/saving_loading_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
# The 1.6 release of PyTorch switched ``torch.save`` to use a new
# zip file-based format. ``torch.load`` still retains the ability to
# load files in the old format. If for any reason you want ``torch.save``
# 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``.
#
# When saving a model for inference, it is only necessary to save the
# trained model’s learned parameters. Saving the model’s *state_dict* with
Expand Down