From 58d9a31668501826f2c52b051641f8405bb03d78 Mon Sep 17 00:00:00 2001 From: Elliotte Rusty Harold Date: Mon, 18 May 2026 15:56:46 +0000 Subject: [PATCH] Fix typo in comment about activation functions --- 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)