From 2e91044e50b0592b51420a6c5bc750237596a21a Mon Sep 17 00:00:00 2001 From: Adwaith <80775046+Grayson-code@users.noreply.github.com> Date: Sat, 16 Aug 2025 19:58:15 +0530 Subject: [PATCH 1/3] Fix LaTeX cell issue --- docs/00_pytorch_fundamentals.ipynb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/00_pytorch_fundamentals.ipynb b/docs/00_pytorch_fundamentals.ipynb index b9aa64bc..a1bed2e0 100644 --- a/docs/00_pytorch_fundamentals.ipynb +++ b/docs/00_pytorch_fundamentals.ipynb @@ -1907,9 +1907,11 @@ "\n", "The [`torch.nn.Linear()`](https://pytorch.org/docs/1.9.1/generated/torch.nn.Linear.html) module (we'll see this in action later on), also known as a feed-forward layer or fully connected layer, implements a matrix multiplication between an input `x` and a weights matrix `A`.\n", "\n", - "$$\n", - "y = x\\cdot{A^T} + b\n", - "$$\n", + "\n", + $$, + "y = x \cdot A^\top + b", + $$, + "\n", "\n", "Where:\n", "* `x` is the input to the layer (deep learning is a stack of layers like `torch.nn.Linear()` and others on top of each other).\n", From 48383c062087af796fdd9c696357f597cf9925da Mon Sep 17 00:00:00 2001 From: Adwaith <80775046+Grayson-code@users.noreply.github.com> Date: Sat, 16 Aug 2025 20:03:02 +0530 Subject: [PATCH 2/3] Update 00_pytorch_fundamentals.ipynb --- docs/00_pytorch_fundamentals.ipynb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/00_pytorch_fundamentals.ipynb b/docs/00_pytorch_fundamentals.ipynb index a1bed2e0..fa686770 100644 --- a/docs/00_pytorch_fundamentals.ipynb +++ b/docs/00_pytorch_fundamentals.ipynb @@ -1908,9 +1908,7 @@ "The [`torch.nn.Linear()`](https://pytorch.org/docs/1.9.1/generated/torch.nn.Linear.html) module (we'll see this in action later on), also known as a feed-forward layer or fully connected layer, implements a matrix multiplication between an input `x` and a weights matrix `A`.\n", "\n", "\n", - $$, - "y = x \cdot A^\top + b", - $$, + "$$ y = x \\cdot A^\\top + b $$" "\n", "\n", "Where:\n", From ddabcddd47cfeaed07f92f4b5b9df8b99a65029e Mon Sep 17 00:00:00 2001 From: Adwaith <80775046+Grayson-code@users.noreply.github.com> Date: Sat, 16 Aug 2025 20:04:57 +0530 Subject: [PATCH 3/3] Update 00_pytorch_fundamentals.ipynb --- docs/00_pytorch_fundamentals.ipynb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/00_pytorch_fundamentals.ipynb b/docs/00_pytorch_fundamentals.ipynb index fa686770..df50c5c7 100644 --- a/docs/00_pytorch_fundamentals.ipynb +++ b/docs/00_pytorch_fundamentals.ipynb @@ -1907,9 +1907,7 @@ "\n", "The [`torch.nn.Linear()`](https://pytorch.org/docs/1.9.1/generated/torch.nn.Linear.html) module (we'll see this in action later on), also known as a feed-forward layer or fully connected layer, implements a matrix multiplication between an input `x` and a weights matrix `A`.\n", "\n", - "\n", - "$$ y = x \\cdot A^\\top + b $$" - "\n", + "$$ y = x \\cdot A^\\top + b $$\n", "\n", "Where:\n", "* `x` is the input to the layer (deep learning is a stack of layers like `torch.nn.Linear()` and others on top of each other).\n", @@ -1924,8 +1922,8 @@ "\n", "Try changing the values of `in_features` and `out_features` below and see what happens.\n", "\n", - "Do you notice anything to do with the shapes?" - ] + "Do you notice anything to do with the shapes?\n" + ] }, { "cell_type": "code",