This commit is contained in:
Daniel Bourke committed 2023-03-09 15:15:09 +10:00
1 parent 17b3108639
commit 29595a60dc
1 file changed
+2 -1
+2 -1
View File
@@ -2644,6 +2644,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "002e586e-dcb3-40fe-a7dd-a1c18a3b8da0",
"metadata": {},
@@ -2676,7 +2677,7 @@
"\n",
"It is the same story for a `nn.Conv2d()` layer.\n",
"\n",
"Except instead of just taking the maximum, the `nn.Conv2d()` performs a conovlutional operation on the data (see this in action on the [CNN Explainer webpage](https://poloclub.github.io/cnn-explainer/)).\n",
"Except instead of just taking the maximum, the `nn.Conv2d()` performs a convolutional operation on the data (see this in action on the [CNN Explainer webpage](https://poloclub.github.io/cnn-explainer/)).\n",
"\n",
"> **Exercise:** What do you think the [`nn.AvgPool2d()`](https://pytorch.org/docs/stable/generated/torch.nn.AvgPool2d.html) layer does? Try making a random tensor like we did above and passing it through. Check the input and output shapes as well as the input and output values.\n",
"\n",