Keras's Multi-Backend Evolution: A Full Circle Return

Keras 3.0 signifies a return to its original multi-backend philosophy, having initially supported Theano, TensorFlow, and CNTK before being tightly integrated as `tf.keras`. This re-architecture allows it to once again serve as a unified high-level API across diverse deep learning frameworks.

The top 3

  1. Keras's Founding Backends: The Original Three: Keras, in its early iterations, was designed to abstract over and support multiple deep learning frameworks, specifically Theano, TensorFlow (1.x), and Microsoft Cognitive Toolkit (CNTK), before its tighter integration with TensorFlow.
  2. Keras's Multi-Backend Pivot: Versions 2.3.0 vs. 3.0: Keras 2.3.0 marked the final major release with multi-backend support for Theano and CNTK, preceding a phase (v2.4-2.x) where only TensorFlow was supported, while Keras 3.0 signifies the full-circle return to multi-backend flexibility.
  3. Keras 3.0's Expanded Backend Arsenal: JAX, PyTorch, TF: Keras 3.0 reintroduces multi-backend capabilities by officially supporting TensorFlow, JAX, and PyTorch, offering enhanced model portability and performance optimization across major deep learning ecosystems, with OpenVINO also supported for inference.

Sources

Open the full topic