Images and Filters

Distinguish between convolution kernels and filters.

Weights of a convolutional layer

Every node in a fully connected layer has its own weight. Our goal is to find optimal weights that give the model the ability to predict the data provided during inference time. We also learned convolution is a particular multiplication between kernel elements and input data. What we called kernel elements until now are the weights of the convolutional layer, and training a convolutional neural network means optimizing these weights to make the model learn what we want it to predict later.

In other words, you might hear specific kernels used in the image processing field, like edge detection, sharpening, and blurring kernels, having already determined values inside. All we have to do is use an edge detection kernel to detect the edges of an image. Here, our kernels become specific at the end of our training, and then we are ready to take our CNN layers and apply them to our image.

Get hands-on with 1200+ tech skills courses.