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
KerasCV: Computer Vision Workflows
KerasNLP: Natural Language Workflows
search
►
Keras 2 API documentation
/
Layers API
/ Attention layers
Attention layers
MultiHeadAttention layer
Attention layer
AdditiveAttention layer