Skip to content

Commit 863e904

Browse files
authored
Fix note about model serialization BC guarantee (#4363)
1 parent 28f6978 commit 863e904

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/source/models.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ keypoint detection and video classification.
99

1010
.. note ::
1111
Backward compatibility is guaranteed for loading a serialized
12-
`state_dict` to the model created using old PyTorch version.
12+
``state_dict`` to the model created using old PyTorch version.
1313
On the contrary, loading entire saved models or serialized
14-
`ScriptModules` (seralized using older versions of PyTorch)
15-
will preserve the historic behaviour. Refer to the following
14+
``ScriptModules`` (seralized using older versions of PyTorch)
15+
may not preserve the historic behaviour. Refer to the following
1616
`documentation
1717
<https://pytorch.org/docs/stable/notes/serialization.html#id6>`_
1818

0 commit comments

Comments
 (0)