Keras 3 is a deep learning framework with pluggable backends including JAX, TensorFlow, PyTorch, and OpenVINO for inference. You define models once and train or run predictions on the backend you choose.
Overview
Keras provides a high-level interface for building, training, and evaluating neural networks. Version 3 lets you pick a computational backend so the same model code can run on JAX, TensorFlow, PyTorch, or OpenVINO depending on your hardware and workflow.
You install the core package and separately install at least one backend. Backend selection is fixed before importing Keras, typically via environment variable or a user config file. OpenVINO is limited to inference through predict-style calls.
The API covers functional and subclassed models, built-in training loops, metrics, and custom components that can interoperate with native framework code. KerasHub adds pretrained architectures and weights usable across the supported backends for both training and inference.
The project positions itself as a drop-in evolution for existing tf.keras projects when TensorFlow is the backend, and as a way to avoid locking models to a single framework ecosystem.
Key features
- Pluggable JAX, TensorFlow, PyTorch backends
- Functional and subclassed model APIs
- Built-in fit, evaluate, predict loops
- OpenVINO inference backend
- KerasHub pretrained model hub
- Custom layers usable in native loops
- Dataset compatibility across backends
- Optional cloud storage path extras
Use cases
- Computer vision model training
- NLP and audio experiments
- Timeseries and recommender models
- Portable research code across runtimes
- Hub-based generative model inference