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
На этой странице сайта вы можете посмотреть видео онлайн PyTorch Conv2d Explained длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Mashaan Alshammari 28 Январь 2024, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 3,161 раз и оно понравилось 43 зрителям. Приятного просмотра!