Skip to content

Commit cc45354

Browse files
authored
Update saving_loading_models.py
1 parent ccbecb4 commit cc45354

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

beginner_source/saving_loading_models.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -227,11 +227,11 @@
227227
# normalization layers to evaluation mode before running inference.
228228
# Failing to do this will yield inconsistent inference results.
229229
#
230-
# Saving an ExportedProgram
231-
# ~~~~~~~~~~~~~~~~~~~~~~~~~~
230+
# Saving an Exported Program
231+
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
232232
#
233-
# If you are using torch.export, you can save and load your ExportedProgram using the
234-
# `torch.export.save()` and `torch.export.load()` APIs. with the `.pt2` file extension.
233+
# If you are using ``torch.export`, you can save and load your `ExportedProgram` using the
234+
# `torch.export.save()` and `torch.export.load()` APIs. with the `.pt2` file extension:
235235
#
236236
# .. code-block:: python
237237
#

0 commit comments

Comments
 (0)