June 2018
Intermediate to advanced
436 pages
10h 33m
English
Once you understand how convolutional layers work, pooling layers are quite easy to grasp. A pooling layer typically works on every input channel independently, so the output depth is the same as the input depth. Alternatively, you may pool over the depth dimension, as we will see next, in which case the image's spatial dimensions (for example, height and width) remain unchanged, but the number of channels is reduced. Let's see a formal definition of pooling layers from TensorFlow API documentation (see more at https://github.com/petewarden/tensorflow_makefile/blob/master/tensorflow/python/ops/nn.py):