Let's begin with the forward propagation. We have already seen how forward propagation works and how a CNN classifies the given input image. Let's frame this mathematically. Let's consider an input matrix, X, and filter, W, with values shown as follows:
First, let's familiarize ourselves with the notations. Whenever we write , it implies the element in the row and the column of the input matrix. The same applies to the filter ...