About Keras
Getting started
Developer guides
Keras 3 API documentation
Models API
Layers API
Callbacks API
Ops API
Optimizers
Metrics
Losses
Data loading
Built-in small datasets
Keras Applications
Mixed precision
Multi-device distribution
RNG API
Utilities
KerasTuner
KerasCV
KerasNLP
KerasHub
Pretrained Models
Models API
Tokenizers
Preprocessing Layers
Modeling Layers
Samplers
Metrics
Keras 2 API documentation
Code examples
KerasTuner: Hyperparameter Tuning
KerasHub: Pretrained Models
KerasCV: Computer Vision Workflows
KerasNLP: Natural Language Workflows
search
►
Keras 3 API documentation
/
KerasHub
/ Modeling Layers
Modeling Layers
TransformerEncoder layer
TransformerEncoder class
call method
TransformerDecoder layer
TransformerDecoder class
call method
FNetEncoder layer
FNetEncoder class
PositionEmbedding layer
PositionEmbedding class
RotaryEmbedding layer
RotaryEmbedding class
SinePositionEncoding layer
SinePositionEncoding class
ReversibleEmbedding layer
ReversibleEmbedding class
TokenAndPositionEmbedding layer
TokenAndPositionEmbedding class
AlibiBias layer
AlibiBias class
MaskedLMHead layer
MaskedLMHead class
CachedMultiHeadAttention layer
CachedMultiHeadAttention class
Modeling Layers
TransformerEncoder layer
TransformerDecoder layer
FNetEncoder layer
PositionEmbedding layer
RotaryEmbedding layer
SinePositionEncoding layer
ReversibleEmbedding layer
TokenAndPositionEmbedding layer
AlibiBias layer
MaskedLMHead layer
CachedMultiHeadAttention layer