Jump to content

Convolutional neural network: Difference between revisions

Line 6: Line 6:
==Convolutions==
==Convolutions==
[https://pytorch.org/docs/stable/nn.html#convolution-layers Pytorch Convolution Layers]<br>
[https://pytorch.org/docs/stable/nn.html#convolution-layers Pytorch Convolution Layers]<br>
[https://towardsdatascience.com/types-of-convolutions-in-deep-learning-717013397f4d Types of convolutions animations]<br>
Here, we will explain 2d convolutions.<br>
Here, we will explain 2d convolutions.<br>
Suppose we have the following input image:<br>
Suppose we have the following input image:<br>
 
<pre>
1 2 3 4 5
6 7 8 2 3
2 5 9 9 5
4 8 8 2 1
</pre>


and the following 3x3 kernel:<br>
and the following 3x3 kernel:<br>