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 96cdbae commit 79d1723Copy full SHA for 79d1723
beginner_source/basics/saveloadrun_tutorial.py
@@ -57,8 +57,8 @@
57
########################
58
# We can then load the model as demonstrated below.
59
#
60
-# As described in `Saving and loading torch.nn.Modules <pytorch.org/docs/main/notes/serialization.html#saving-and-loading-torch-nn-modules>`__,
61
-# saving ``state_dict``s is considered the best practice. However,
+# As described in `Saving and loading torch.nn.Modules <https://pytorch.org/docs/main/notes/serialization.html#saving-and-loading-torch-nn-modules>`_,
+# saving ``state_dict`` is considered the best practice. However,
62
# below we use ``weights_only=False`` because this involves loading the
63
# model, which is a legacy use case for ``torch.save``.
64
0 commit comments