Global pooling operations
GlobalMaxPooling1D(input_shape = NULL)GlobalAveragePooling1D(input_shape = NULL)
GlobalMaxPooling2D(data_format = NULL, input_shape = NULL)
GlobalAveragePooling2D(data_format = NULL, input_shape = NULL)
nD tensor with shape: (batch_size, ..., input_dim)
.
The most common situation would be a 2D
input with shape
(batch_size, input_dim)
.
A string, one of channels_last (default) or channels_first
Taylor B. Arnold, taylor.arnold@acm.org
Chollet, Francois. 2015. Keras: Deep Learning library for Theano and TensorFlow.