L4.5 A Fully Connected (Linear) Layer in PyTorch @SebastianRaschka
L4.5 A Fully Connected (Linear) Layer in PyTorch  @SebastianRaschka
Uploaded February 2021 | Updated November 2026, 1 day ago
Sebastian's books: sebastianraschka.com/books

Now that we discussed a lot of the linear algebra notational conventions, let us look at a concrete example and see how we can implement a fully connected (sometimes also called linear or dense) layer of a neural network in PyTorch.

Slides: sebastianraschka.com/pdf/lecture-notes/stat453ss21/L04_linalg-dl_slides.pdf

-------

This video is part of my Introduction of Deep Learning course.

Next video: youtu.be/VBOxg62CwCg

The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KJtIXOW0zFhFfBaJJilH51

A handy overview page with links to the materials: sebastianraschka.com/blog/2021/dl-course.html

-------

If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
L4.5 A Fully Connected (Linear) Layer in PyTorchL10.3 Early StoppingL5.5 (Optional) Calculus Refresher II: GradientsBuild an LLM from Scratch 4: Implementing a GPT model from Scratch To Generate TextL14.3.1.1 VGG16 OverviewL9.3.2 Multilayer Perceptron in PyTorch   Code Example Part 2/3 (Jupyter Notebook)L17.2 Sampling from a Variational AutoencoderBuild an LLM from Scratch 5: Pretraining on Unlabeled DataDeep Learning News #5, Feb 27 2021Why learn with from-scratch code?L19.5.2.3 BERT: Bidirectional Encoder Representations from Transformers13.3.1 L1-regularized Logistic Regression as Embedded Feature Selection (L13: Feature Selection)
Sebastian Raschka |

L4.5 A Fully Connected (Linear) Layer in PyTorch

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER