Convolutional layers

The convolutional layer is the most important building block of a CNN. It consists of a set of filters (also known as kernels or feature detectors), where each filter is applied across all areas of the input data. A filter is defined by a set of learnable weights. As a nod to the topic at hand, the following image illustrates this very well:

Displayed is a two-dimensional input layer of a neural network. For the sake of simplicity, we'll assume that this is the input layer, but it can be any layer of the network. As we've seen in the previous chapters, each input neuron represents the color intensity of a pixel (we'll ...

Get Python Deep Learning - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.