From e03fad482b3379186a29e1f8a4e6ffbddd36e20d Mon Sep 17 00:00:00 2001 From: Pietro Monticone <38562595+pitmonticone@users.noreply.github.com> Date: Thu, 30 Nov 2023 16:33:04 +0100 Subject: [PATCH] Update CM20315_Convolution_II.ipynb --- CM20315/CM20315_Convolution_II.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CM20315/CM20315_Convolution_II.ipynb b/CM20315/CM20315_Convolution_II.ipynb index 6ddf658..4d87123 100644 --- a/CM20315/CM20315_Convolution_II.ipynb +++ b/CM20315/CM20315_Convolution_II.ipynb @@ -105,7 +105,7 @@ "cell_type": "code", "source": [ "\n", - "# TODO Create a model with the folowing layers\n", + "# TODO Create a model with the following layers\n", "# 1. Convolutional layer, (input=length 40 and 1 channel, kernel size 3x3, stride 2, padding=\"valid\", 15 output channels ) \n", "# 2. ReLU\n", "# 3. Convolutional layer, (input=length 19 and 15 channels, kernel size 3x3, stride 2, padding=\"valid\", 15 output channels )\n", @@ -120,7 +120,7 @@ "# https://pytorch.org/docs/1.13/generated/torch.nn.Linear.html?highlight=linear#torch.nn.Linear\n", "\n", "# Replace the following function which just runs a standard fully connected network\n", - "# The flatten at the beginning is becuase we are passing in the data in a slightly different format.\n", + "# The flatten at the beginning is because we are passing in the data in a slightly different format.\n", "model = nn.Sequential(\n", "nn.Flatten(),\n", "nn.Linear(40, 100),\n",