A typical CNN alternates convolutional layers and pooling layers, followed by one or more fully connected layers for the final prediction: