From fca4d99beb5d6739b09e8a0c8338172336ae54f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20Log=C3=A9?= <77212379+maxloge@users.noreply.github.com> Date: Mon, 24 Nov 2025 18:15:47 +0100 Subject: [PATCH 1/2] Fix typo in comment about activations Fix typo in comment about activations. --- beginner_source/basics/buildmodel_tutorial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beginner_source/basics/buildmodel_tutorial.py b/beginner_source/basics/buildmodel_tutorial.py index 1806e80feb5..2fb28d6e303 100644 --- a/beginner_source/basics/buildmodel_tutorial.py +++ b/beginner_source/basics/buildmodel_tutorial.py @@ -131,7 +131,7 @@ def forward(self, x): # learn a wide variety of phenomena. # # In this model, we use `nn.ReLU `_ between our -# linear layers, but there's other activations to introduce non-linearity in your model. +# linear layers, but there are other activations to introduce non-linearity in your model. print(f"Before ReLU: {hidden1}\n\n") hidden1 = nn.ReLU()(hidden1) From 605a736ae65f46cc2dc55fed5f1ec8c66209df98 Mon Sep 17 00:00:00 2001 From: Svetlana Karslioglu Date: Mon, 24 Nov 2025 10:19:37 -0800 Subject: [PATCH 2/2] Fix linkcheck --- beginner_source/basics/buildmodel_tutorial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beginner_source/basics/buildmodel_tutorial.py b/beginner_source/basics/buildmodel_tutorial.py index 2fb28d6e303..059b39f2440 100644 --- a/beginner_source/basics/buildmodel_tutorial.py +++ b/beginner_source/basics/buildmodel_tutorial.py @@ -104,7 +104,7 @@ def forward(self, x): ################################################## # nn.Flatten # ^^^^^^^^^^^^^^^^^^^^^^ -# We initialize the `nn.Flatten `_ +# We initialize the `nn.Flatten `_ # layer to convert each 2D 28x28 image into a contiguous array of 784 pixel values ( # the minibatch dimension (at dim=0) is maintained).