JAx
JAX is an open-source Python library for high-performance numerical computing and machine learning, developed by Google Research. It provides a NumPy-like API (via jax.numpy) with automatic differentiation and relies on the XLA compiler to generate optimized code for CPU, GPU, and TPU backends. JAX emphasizes composable function transformations that enable gradients, vectorization, and parallelism across devices.
Its core features include automatic differentiation (reverse-mode for gradients, with facilities for higher-order derivatives), and specialized
JAX exposes a NumPy-like API through jax.numpy, while the lax module provides lower-level primitives for more
JAX runs on CPU, GPUs, and TPUs and supports multi-device computation. While powerful, it has a learning