About Keras
Getting started
Developer guides
Keras 3 API documentation
Models API
The Model class
The Sequential class
Model training APIs
Saving & serialization
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
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
/
Models API
/ Saving & serialization
Saving & serialization
Whole model saving & loading
save method
save_model function
load_model function
Weights-only saving & loading
save_weights method
load_weights method
Model config serialization
get_config method
from_config method
clone_model function
Model export for inference
export method
ExportArchive class
add_endpoint method
add_variable_collection method
track method
write_out method
Serialization utilities
serialize_keras_object function
deserialize_keras_object function
custom_object_scope class
get_custom_objects function
register_keras_serializable function
Keras weights file editor
KerasFileEditor class
summary method
compare method
save method
rename_object method
delete_object method
add_object method
delete_weight method
add_weights method
Saving & serialization
Whole model saving & loading
Weights-only saving & loading
Model config serialization
Model export for inference
Serialization utilities
Keras weights file editor