What Are the Different Layers on CNN?

There are four layers in CNN:

  1. Convolutional Layer - the layer that performs a convolutional operation, creating several smaller picture windows to go over the data.
  2. ReLU Layer - it brings non-linearity to the network and converts all the negative pixels to zero. The output is a rectified feature map.
  3. Pooling Layer - pooling is a down-sampling operation that reduces the dimensionality of the feature map.
  4. Fully Connected Layer - this layer recognizes and classifies the objects in the image.