Skip to content

Commit 58d9a31

Browse files
authored
Fix typo in comment about activation functions
1 parent bcb7e29 commit 58d9a31

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

beginner_source/basics/buildmodel_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def forward(self, x):
131131
# learn a wide variety of phenomena.
132132
#
133133
# In this model, we use `nn.ReLU <https://pytorch.org/docs/stable/generated/torch.nn.ReLU.html>`_ between our
134-
# linear layers, but there's other activations to introduce non-linearity in your model.
134+
# linear layers, but there are other activations to introduce non-linearity in your model.
135135

136136
print(f"Before ReLU: {hidden1}\n\n")
137137
hidden1 = nn.ReLU()(hidden1)

0 commit comments

Comments
 (0)