Learn Before
Steps for a Two-Dimensional Sliding-Window Correlation
To compute a two-dimensional cross-correlation, place the kernel over the top-left corner of the input array first. For each valid position, multiply each kernel entry by the corresponding input entry under it, then add those products to get one output value. Shift the kernel one step to the right and repeat across the row. After finishing a row, move the kernel down by one step and continue until every valid placement has been processed. The full set of sums forms the output array.

0
1
Tags
Data Science
D2L
Dive into Deep Learning @ D2L
Machine Learning Yearning @ DeepLearning.AI
Deep Learning
Machine Learning
Supervised Learning
Related
Mathematical Implementation of Forward Propagation
Convolution Visualizer
Strided Convolution
3D Convolution Layers
Convolutions Over Volumes
Convolutional Layer
Steps for a Two-Dimensional Sliding-Window Correlation
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