Skip to content

Commit cf19f44

Browse files
authored
Merge pull request #198 from Sisim/patch-2
fix: add activation function in output
2 parents cf9ec7e + 5369c29 commit cf19f44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

intro-to-pytorch/Part 2 - Neural Networks in PyTorch (Solution).ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
"\n",
173173
"h = activation(torch.mm(inputs, w1) + b1)\n",
174174
"\n",
175-
"out = torch.mm(h, w2) + b2"
175+
"out = activation(torch.mm(h, w2) + b2)"
176176
]
177177
},
178178
{

0 commit comments

Comments
 (0)