liveBook · Manning

JAX

JAX is a Python library for high-performance array computing, with composable transformations for automatic differentiation, compilation, vectorization, and parallelization.

How 3 Manning books explain it

Deep Learning with JAX

A functional-first numerical computing library for machine learning and scientific computing in which state is made explicit and transformations like autodiff and compilation are central.

How it is used
Deploys NumPy-style numerical programs for differentiable, compiled, vectorized, and parallel machine-learning or scientific computation.
How deep it goes
Explains arrays, functional state, four core transformations, hardware, and ecosystem tradeoffs, while deferring detailed chapters on each feature.
Examples
Uses immutable indexed updates, performance comparisons, and an MNIST neural network combining gradients, compilation, and auto-vectorization.
What you can do after
Build a simple MNIST neural network using explicit state and grad(), jit(), and vmap().

Read how Deep Learning with JAX explains JAX →

Deep Learning with R, Third Edition

JAX is a Python library for high-performance numerical computing and machine learning with composable transformations such as automatic differentiation and just-in-time compilation.

How it is used
Provides low-level numerical computation and automatic differentiation, both directly and as a Keras backend.
How deep it goes
Works through stateless gradients, compilation, custom training, and distributed configuration, while leaving cloud VM provisioning to external instructions.
Examples
Uses a linear classifier, an MNIST custom training step, and top-class gradients for convolutional network interpretation.
What you can do after
Builds a linear classifier from scratch and configures Keras data parallelism with JAX.

Read how Deep Learning with R, Third Edition explains JAX →

Deep Learning with Python, Third Edition

A numerical computing and machine learning library for high-performance array computation, automatic differentiation, and compilation.

How it is used
Supports low-level differentiable computation and serves as a Keras backend for neural-network training.
How deep it goes
Develops stateless training steps with explicit state, automatic differentiation, and compilation, including a custom Keras optimizer update.
Examples
Works through a linear classifier, a custom Keras training step, and gradient ascent on an image.
What you can do after
Apply it via JAX to write a stateless linear-classifier training loop and compute gradients.

Read how Deep Learning with Python, Third Edition explains JAX →

Also covered in

What to know first

Related concepts

Questions about JAX

What is JAX?

JAX is a Python library for high-performance array computing, with composable transformations for automatic differentiation, compilation, vectorization, and parallelization.

Which Manning books explain JAX?

Deep Learning with JAX, Deep Learning with R, Third Edition and Deep Learning with Python, Third Edition.

What should I know before learning JAX?

Manning books that teach JAX usually introduce array, automatic differentiation, code compilation and computation graph first.

What is the difference between JAX and PyTorch?

JAX is a Python library for high-performance array computing, with composable transformations for automatic differentiation, compilation, vectorization, and parallelization. PyTorch is an open-source machine-learning framework that provides tensor computation, automatic differentiation, and tools for developing and training neural networks.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.