What is 2D Convolution?

Learn the logic behind 2D convolution.

2D convolution

The 2D convolution operation applies a 2D window to the input 2D matrix, where the window slides across the input matrix to perform element-wise multiplication and summing operations.

The following example shows how to travel a 5x5 2D matrix with a 3x3 window:

Get hands-on with 1400+ tech skills courses.