Convolutional neural networks is a class of neural networks that specializes in processing data that has a grid-like topology : images

Untitled

In this figure, an image is represented as a grid that contains pixel values to denote how bright and what color each pixel should be

CNN architecture

Untitled

Convolution Layer :

Performs a DOT between two matricees :

  1. Matrix of learnable parameters : KERNEL

  2. Restricted portion of receptive field

the kernel height and width will be spatially small, but the depth extends up to all three channels.

Untitled

Untitled

The kernel will slide across the height and width of the image to produce a two-dimensioal representation of the image know as the Activation map

Untitled

Trivial convolution networks use this method to represent the interaction between the input and output units VS Convolutional Neural Networks have sparse interaction

Pooling