About Keras
Getting started
Developer guides
Keras 3 API documentation
Keras 2 API documentation
Models API
Layers API
The base Layer class
Layer activations
Layer weight initializers
Layer weight regularizers
Layer weight constraints
Core layers
Convolution layers
Pooling layers
Recurrent layers
Preprocessing layers
Normalization layers
Regularization layers
Attention layers
Reshaping layers
Merging layers
Activation layers
Callbacks API
Optimizers
Metrics
Losses
Data loading
Built-in small datasets
Keras Applications
Mixed precision
Utilities
Code examples
KerasTuner: Hyperparameter Tuning
KerasHub: Pretrained Models
KerasCV: Computer Vision Workflows
KerasNLP: Natural Language Workflows
search
►
Keras 2 API documentation
/
Layers API
/ Pooling layers
Pooling layers
MaxPooling1D layer
MaxPooling2D layer
MaxPooling3D layer
AveragePooling1D layer
AveragePooling2D layer
AveragePooling3D layer
GlobalMaxPooling1D layer
GlobalMaxPooling2D layer
GlobalMaxPooling3D layer
GlobalAveragePooling1D layer
GlobalAveragePooling2D layer
GlobalAveragePooling3D layer