Skip to content

Commit 878638a

Browse files
bpshaversoumith
authored andcommitted
Update saving_loading_models.py (pytorch#417)
1 parent 509c7f9 commit 878638a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beginner_source/saving_loading_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
# -------------------------
5454
#
5555
# In PyTorch, the learnable parameters (i.e. weights and biases) of an
56-
# ``torch.nn.Module`` model is contained in the model’s *parameters*
56+
# ``torch.nn.Module`` model are contained in the model’s *parameters*
5757
# (accessed with ``model.parameters()``). A *state_dict* is simply a
5858
# Python dictionary object that maps each layer to its parameter tensor.
5959
# Note that only layers with learnable parameters (convolutional layers,

0 commit comments

Comments
 (0)