Get Started

Introduction to JAX

PyTorch mutates tensors. TensorFlow builds graphs. JAX compiles pure functions. That last one changes how you think about deep learning.

90 minutesBuildPythonMembers

Learning Objectives

  • Write pure-function neural network code using JAX's functional API (jax.numpy, jax.grad, jax.jit, jax.vmap)
  • Explain the key design difference between PyTorch's eager mutation and JAX's functional compilation model
  • Apply jit compilation and vmap vectorization to accelerate training loops compared to naive Python
  • Train a simple network in JAX and contrast the explicit state management with PyTorch's object-oriented approach