April 2017
Intermediate to advanced
318 pages
7h 40m
English
One easy and common choice is max-pooling, which simply outputs the maximum activation as observed in the region. In Keras, if we want to define a max-pooling layer of size 2 x 2, we will write:
model.add(MaxPooling2D(pool_size = (2, 2)))
An example of max-pooling is shown in the following diagram:

Read now
Unlock full access