I looked into the implementation of a convolutional layer in pytorch. It is implemented as a matrix multiplication using im2col method. In this video, the focus is on (1) how convolution can be performed using matrix multiplication (2) creating a customized convolutional layer using im2col and comparing the output with pytorch Conv2d.
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
🔗 notes+code: https://mashaan14.github.io/YouTube-c...
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
website https://mashaan14.github.io/mashaan/
github https://github.com/mashaan14
X / mashaan_14
linkedin / mashaan
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
sponsor this channel on GitHub Sponsors:
https://github.com/sponsors/mashaan14
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Chapters:
0:00 start
0:26 course notes
0:36 convolution demo
2:55 my notes on convolution demo
3:53 convolution as matrix multiplication
6:30 notes on matrix multiplication
8:02 convolution memory efficiency
8:45 pytorch Conv2d implementation
9:14 unfold function (im2col)
10:10 code for a customized conv layer
11:11 computing the dimensions for conv output
12:09 performing matrix multiplication
12:49 the output of the customized conv layer
13:07 final remarks
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
#pytorch #computervision #convolutionalneuralnetworks #convolution #CNN #deeplearning #im2col #conv #conv2d #DeepLearningTutorial #MachineLearningProject #AIResearch #CodingTutorial
Sur cette page du site, vous pouvez voir la vidéo en ligne PyTorch Conv2d Explained durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Mashaan Alshammari 28 janvier 2024, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 3,161 fois et il a aimé 43 téléspectateurs. Bon visionnage!