CNN
CNN
visual fields. In case some certain orientation edges are present then only some
individual neuronal cells get fired inside the brain such as some neurons responds
as and when they get exposed to the vertical edges, however some responds when they
are shown to horizontal or diagonal edges, which is nothing but the motivation
behind Convolutional Neural Networks.
The Convolutional Neural Networks, which are also called as covnets, are nothing
but neural networks, sharing their parameters. Suppose that there is an image,
which is embodied as a cuboid, such that it encompasses length, width, and height.
Here the dimensions of the image are represented by the Red, Green, and Blue
channels, as shown in the image given below.
The Convolutional layers encompass a set of learnable filters, such that each
filter embraces small width, height as well as depth as that of the provided input
volume (if the image is the input layer then probably it would be 3).
Suppose that we want to run the convolution over the image that comprises of
34x34x3 dimension, such that the size of a filter can be axax3. Here a can be any
of the above 3, 5, 7, etc. It must be small in comparison to the dimension of the
image.
Each filter gets slide all over the input volume during the forward pass. It slides
step by step, calling each individual step as a stride that encompasses a value of
2 or 3 or 4 for higher-dimensional images, followed by calculating a dot product in
between filter's weights and patch from input volume.
It will result in 2-Dimensional output for each filter as and when we slide our
filters followed by stacking them together so as to achieve an output volume to
have a similar depth value as that of the number of filters. And then, the network
will learn all the filters.