liveBook · Manning

Convolutional layer

As explained in Grokking Machine Learning

A convolutional layer is a neural-network layer that produces a filtered representation by applying convolutions across an input.

To process a complicated image, a convolutional neural network moves a small window—such as 5-by-5 or 7-by-7 pixels—across the image and applies a convolution at each position. The result is a slightly smaller representation. This offers an alternative to flattening an image into a long vector, which loses information. section 10.5

Image recognition

MNIST contains 28-by-28 grayscale handwritten digits; CIFAR-10 contains 32-by-32 color images with labels such as airplane and automobile. These are examples of image-recognition tasks for neural networks. section 10.5

How Grokking Machine Learning covers it

How deep it goes
Sketches a sliding-window convolution with example window sizes, but gives no formula or implementation details.
Examples
Uses MNIST handwritten digits and CIFAR-10 color images as image-recognition examples.
What it assumes
Builds on neural-network image classification, including a fully connected MNIST model.
What you can do after
Understand how a small window moves across an image and applies convolutions to form a smaller representation.
How it connects
Connects convolutional neural networks with neural networks, image recognition, and semantic segmentation.

Also explained in

Compare how 14 books explain convolutional layer →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Grokking Machine Learning. The section links point to the parts of the book it draws on.