Learn Before
The Cross-Correlation (Convolution) Operation
The cross-correlation operation involves mapping a filter matrix (or kernel) to every possible position on an input matrix. At each position, the corresponding elements of the input and the kernel are multiplied together, and the products are summed to calculate a single entry in the resulting output matrix. While a strict mathematical convolution requires flipping the two-dimensional kernel both horizontally and vertically prior to this process, deep learning implementations typically omit this mirroring step and compute the cross-correlation directly. Despite this technical distinction, it is standard terminology in deep learning literature to refer to the cross-correlation operation simply as a convolution.

0
2
Tags
Data Science
D2L
Dive into Deep Learning @ D2L
Learn After
Mathematical Implementation of Forward Propagation
Convolution Visualizer
Calculating Cross-Correlation (Convolution) Operation Example
Strided Convolution
3D Convolution Layers
Convolutions Over Volumes
Convolutional Layer
Two-Dimensional Convolution Operation Procedure
Computation of Convolution Output Size
Convolution Kernel as a Finite Difference Operator
Example of Two-Dimensional Cross-Correlation with Padding
Default Padding and Stride Values
Multi-Channel Convolution Kernel Structure
Basic Transposed Convolution Operation