Skip to content

Commit d5b5af1

Browse files
authored
Merge pull request zergtant#117 from sabaizzz/master
Update 3_neural_networks_tutorial.ipynb
2 parents c2ee587 + 219309a commit d5b5af1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chapter1/3_neural_networks_tutorial.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
" x = F.max_pool2d(F.relu(self.conv1(x)), (2, 2))\n",
9393
" # If the size is a square you can only specify a single number\n",
9494
" x = F.max_pool2d(F.relu(self.conv2(x)), 2)\n",
95-
" x = x.view(-1, self.num_flot_features(x))\n",
95+
" x = x.view(-1, self.num_flat_features(x))\n",
9696
" x = F.relu(self.fc1(x))\n",
9797
" x = F.relu(self.fc2(x))\n",
9898
" x = self.fc3(x)\n",

0 commit comments

Comments
 (0)