From d6d0afdfd334296a60c4ee38d319b6544f23200a Mon Sep 17 00:00:00 2001 From: udlbook <110402648+udlbook@users.noreply.github.com> Date: Sun, 24 Dec 2023 12:34:48 -0500 Subject: [PATCH] Created using Colaboratory --- Notebooks/Chap11/11_2_Residual_Networks.ipynb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Notebooks/Chap11/11_2_Residual_Networks.ipynb b/Notebooks/Chap11/11_2_Residual_Networks.ipynb index 4e4f981..613920f 100644 --- a/Notebooks/Chap11/11_2_Residual_Networks.ipynb +++ b/Notebooks/Chap11/11_2_Residual_Networks.ipynb @@ -4,7 +4,7 @@ "metadata": { "colab": { "provenance": [], - "authorship_tag": "ABX9TyObut1y9atNUuowPT6dMY+I", + "authorship_tag": "ABX9TyMXS3SPB4cS/4qxix0lH/Hq", "include_colab_link": true }, "kernelspec": { @@ -144,10 +144,10 @@ " def count_params(self):\n", " return sum([p.view(-1).shape[0] for p in self.parameters()])\n", "\n", - "# # TODO -- Add residual connections to this model\n", - "# # The order of operations should similar to figure 11.5b\n", - "# # linear1 first, ReLU+linear2 in first residual block, ReLU+linear3 in second residual block), linear4 at end\n", - "# # Replace this function\n", + "# TODO -- Add residual connections to this model\n", + "# The order of operations within each block should similar to figure 11.5b\n", + "# ie., linear1 first, ReLU+linear2 in first residual block, ReLU+linear3 in second residual block), linear4 at end\n", + "# Replace this function\n", " def forward(self, x):\n", " h1 = self.linear1(x).relu()\n", " h2 = self.linear2(h1).relu()\n",