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













