Jump to content

Convolutional neural network: Difference between revisions

Line 32: Line 32:
For each possible position of the 3x3 kernel over the input image,
For each possible position of the 3x3 kernel over the input image,
we perform an element-wise multiplication (<math>\odot</math>) and sum over all entries to get a single value.<br>
we perform an element-wise multiplication (<math>\odot</math>) and sum over all entries to get a single value.<br>
Placing the kernel in the first position would yield:\\
Placing the kernel in the first position would yield:<br>
<math>
<math>
\begin{bmatrix}
\begin{bmatrix}
Line 51: Line 51:
6 & 10 & 9
6 & 10 & 9
\end{bmatrix}
\end{bmatrix}
</math>\\
</math><br>
Summing up all the elements gives us <math>66</math> which would go in the first index of the output.
Summing up all the elements gives us <math>66</math> which would go in the first index of the output.