jax.Array | Advanced 01_transformations_control_flow › 1.7 Understanding closures and JAX staging; Advanced 02_performance › 2.4 Memory layout and its effect on performance; Advanced 03_distributed › 3.5 Collective communication primitives (psum, pmean, etc.); Advanced 05_interop_custom_ops › Links to the Basics part; Advanced 08_debugging › 7.3 jax.live_arrays(): finding arrays that weren't freed; Basics 01_introduction › 1.5 Working with JAX arrays |
jax.Array.__repr__ | Advanced 02_performance › 2.7 Asynchronous dispatch |
jax.ShapeDtypeStruct | Advanced 05_interop_custom_ops › 5.4 Side-effect-free calls with jax.pure_callback; Advanced 07_pallas › 2.1 Kernels, Refs and out_shape; Advanced 09_export_deploy › §0 Environment notes and shared helpers; Basics 07_practical_topics › 1.5 ✅ Fixes |
jax.__version__ | Advanced 09_export_deploy › §2.6 Version compatibility: three layers of version numbers |
jax._src.debugging | Advanced 08_debugging › 1.1 jax.debug.print |
jax.ad_checkpoint | Advanced 06_large_scale_training › 6.6 Gradient checkpointing (rematerialization) |
jax.ad_checkpoint.checkpoint_name | Advanced 06_large_scale_training › 🗂️ Cheat sheet |
jax.ad_checkpoint.print_saved_residuals | Advanced 01_transformations_control_flow › Cheat sheet; Advanced 04_advanced_autodiff › Cheat sheet; Advanced 06_large_scale_training › 🗂️ Cheat sheet; Advanced 11_scientific_computing › Cheat sheet |
jax.ad_checkpoint.xxx | Advanced 06_large_scale_training › 6.6 Gradient checkpointing (rematerialization) |
jax.block_until_ready | Advanced 02_performance › 2.7 Asynchronous dispatch; Basics 02_jit › 2.7 Hands-on: applying jit; Basics 07_practical_topics › 0 Common setup |
jax.check_tracer_leaks | Advanced 08_debugging › Cheat sheet |
jax.checking_leaks | Advanced 08_debugging › Contents |
jax.checkpoint | Advanced 01_transformations_control_flow › How this connects to the Basics part; Advanced 04_advanced_autodiff › Start; Advanced 06_large_scale_training › Start; Advanced 08_debugging › 7.1 memory_analysis(): know how much memory you need before running; Advanced 11_scientific_computing › Start; Basics 06_state › 🧭 Course summary and where to go next |
jax.checkpoint_policies | Advanced 01_transformations_control_flow › Cheat sheet; Advanced 06_large_scale_training › 6.6 Gradient checkpointing (rematerialization) |
jax.checkpoint_policies.dots_saveable | Advanced 06_large_scale_training › 🗂️ Cheat sheet |
jax.clear_caches | Advanced 01_transformations_control_flow › 1.7 Understanding closures and JAX staging; Advanced 08_debugging › Contents; Basics 07_practical_topics › 2.4 Locating NaNs with jax_debug_nans (measured behavior in 0.12) |
jax.config | Advanced 08_debugging › Contents; Basics 03_grad › 3.9 Hands-on: computing gradients |
jax.config.jax_debug_nans | Advanced 08_debugging › 6.2 Checking the current values in jax.config |
jax.config.jax_threefry_partitionable | Advanced 10_random_sharding › Cheat sheet |
jax.config.read | Advanced 08_debugging › 6.2 Checking the current values in jax.config |
jax.config.update | Advanced 02_performance › 2.5 Avoiding recompilation; Advanced 03_distributed › 3.9 Practice: distributed data-parallel training; Advanced 08_debugging › 3.1 jax_debug_nans / jax_debug_infs; Advanced 10_random_sharding › 3 PRNG algorithms: threefry, philox, rbg, unsafe_rbg; Advanced 11_scientific_computing › 0 Environment: turn on float64; Basics 01_introduction › 1.2 JAX vs. NumPy |
jax.config.values | Advanced 08_debugging › 6.2 Checking the current values in jax.config |
jax.core | Advanced 05_interop_custom_ops › 5.6 Defining custom primitives |
jax.core.ShapedArray | Advanced 05_interop_custom_ops › Links to the Basics part |
jax.core.get_aval | Advanced 05_interop_custom_ops › 5.9 Differentiation rules for custom primitives |
jax.custom_jvp | Advanced 04_advanced_autodiff › Start; Advanced 05_interop_custom_ops › 5.3 Calling external CPU/GPU code with jax.experimental.host_callback; Basics 03_grad › 3.8 Limitations and caveats; Basics 07_practical_topics › 🗂️ Cheat sheet |
jax.custom_vjp | Advanced 01_transformations_control_flow › Exercise 3: segment softmax (a basic operation in graph attention); Advanced 04_advanced_autodiff › Start; Advanced 05_interop_custom_ops › 5.3 Calling external CPU/GPU code with jax.experimental.host_callback; Advanced 07_pallas › 5.3 grad: not differentiable by default; use custom_vjp + a Pallas backward kernel; Basics 03_grad › 3.8 Limitations and caveats |
jax.debug.breakpoint | Advanced 08_debugging › Contents; Basics 05_pmap › 5.7 Debugging pmapped functions |
jax.debug.callback | Advanced 05_interop_custom_ops › Links to the Basics part; Advanced 08_debugging › Contents |
jax.debug.inspect_array_sharding | Advanced 08_debugging › 8 Multiple devices: where arrays live and what each device computed |
jax.debug.log | Advanced 08_debugging › 1.1 jax.debug.print |
jax.debug.print | Advanced 01_transformations_control_flow › 1.3 Conditional execution with lax.cond; Advanced 05_interop_custom_ops › 5.3 Calling external CPU/GPU code with jax.experimental.host_callback; Advanced 07_pallas › 3.4 What extra problems the TPU simulator catches; Advanced 08_debugging › Contents; Basics 01_introduction › 1.3 Core design: function transformations; Basics 02_jit › 2.6 Common jit pitfalls |
jax.debug.visualize_array_sharding | Advanced 03_distributed › 3.7 Nested pmap and advanced partitioning; Advanced 06_large_scale_training › 🗂️ Cheat sheet; Advanced 08_debugging › 8 Multiple devices: where arrays live and what each device computed; Basics 05_pmap › 5.4 Device meshes and axis names |
jax.debug_infs | Advanced 08_debugging › 3.1 jax_debug_nans / jax_debug_infs |
jax.debug_nans | Advanced 04_advanced_autodiff › 4.6 Custom differentiation rules with jax.custom_vjp; Advanced 08_debugging › 3.1 jax_debug_nans / jax_debug_infs |
jax.debug_nans.value | Advanced 08_debugging › 6.2 Checking the current values in jax.config |
jax.default_backend | Basics 01_introduction › Cheat sheet |
jax.device_count | Advanced 03_distributed › 3.2 Device management in JAX; Basics 05_pmap › 5.8 Hands-on: parallel computation |
jax.device_get | Advanced 02_performance › 2.7 Asynchronous dispatch; Advanced 05_interop_custom_ops › 5.1 Integrating JAX with NumPy; Basics 01_introduction › 1.6 Device management: CPU, GPU, TPU; Basics 07_practical_topics › 6.5 ❌ Common mistakes, measured |
jax.device_put | Advanced 02_performance › 2.1 Profiling JAX code on CPU, GPU and TPU; Advanced 03_distributed › 3.2 Device management in JAX; Advanced 05_interop_custom_ops › 5.1 Integrating JAX with NumPy; Advanced 06_large_scale_training › 6.3 Managing model parameters and state; Advanced 08_debugging › 5.5 Slow code: what to check, in order; Basics 01_introduction › 1.6 Device management: CPU, GPU, TPU |
jax.device_put_replicate | Advanced 06_large_scale_training › Version notes |
jax.device_put_replicated | Advanced 06_large_scale_training › 6.3 Managing model parameters and state; Basics 05_pmap › 5.8 Hands-on: parallel computation |
jax.device_put_sharded | Advanced 06_large_scale_training › 6.3 Managing model parameters and state |
jax.devices | Advanced 03_distributed › 3.2 Device management in JAX; Advanced 08_debugging › 7.1 memory_analysis(): know how much memory you need before running; Basics 01_introduction › 1.6 Device management: CPU, GPU, TPU; Basics 05_pmap › 5.2 Introducing jax.pmap |
jax.disable_jit | Advanced 08_debugging › Contents; Basics 02_jit › 2.6 Common jit pitfalls; Basics 05_pmap › Cheat sheet |
jax.distributed.initialize | Advanced 03_distributed › 3.8 Overview of multi-host programming |
jax.dlpack.from_dlpack | Advanced 05_interop_custom_ops › Links to the Basics part |
jax.dlpack.is_supported_dtype | Advanced 05_interop_custom_ops › 5.2 Zero-copy data sharing with DLPack |
jax.dlpack.to_dlpack | Advanced 05_interop_custom_ops › 5.2 Zero-copy data sharing with DLPack |
jax.dtypes.float0 | Advanced 04_advanced_autodiff › 4.2 Jacobian-vector products (JVPs) and jax.jvp |
jax.dtypes.prng_key | Advanced 10_random_sharding › Start |
jax.effects_barrier | Advanced 05_interop_custom_ops › 5.3 Calling external CPU/GPU code with jax.experimental.host_callback; Advanced 08_debugging › Cheat sheet |
jax.enable_x64 | Advanced 07_pallas › §7 Practical rules checklist; Advanced 11_scientific_computing › 1.2 Why float64 matters |
jax.errors | Advanced 08_debugging › Contents |
jax.errors.ConcretizationTypeError | Advanced 08_debugging › 📝 Quiz (6 questions); Basics 02_jit › Cheat sheet |
jax.errors.JAXTypeError | Advanced 08_debugging › 4 A catalog of Tracer errors; Basics 02_jit › 2.4 Python control flow and jit |
jax.errors.KeyReuseError | Advanced 08_debugging › 9.3 Hidden bug 3: reusing a random key |
jax.errors.TracerBoolConversionError | Advanced 08_debugging › Cheat sheet |
jax.eval_shape | Advanced 05_interop_custom_ops › 5.7 Implementing abstract evaluation rules; Advanced 09_export_deploy › §3.3 Getting an abstract template with jax.eval_shape; Basics 07_practical_topics › 1.4 Diagnostic tools |
jax.experimental.checkify | Advanced 08_debugging › 3.2 jax.experimental.checkify; Basics 07_practical_topics › 2.4 Locating NaNs with jax_debug_nans (measured behavior in 0.12) |
jax.experimental.checkify.checkify | Basics 07_practical_topics › 🗂️ Cheat sheet |
jax.experimental.host_callback | Advanced 05_interop_custom_ops › 5.3 Calling external CPU/GPU code with jax.experimental.host_callback |
jax.experimental.io_callback | Advanced 05_interop_custom_ops › 5.3 Calling external CPU/GPU code with jax.experimental.host_callback |
jax.experimental.jax2tf | Advanced 09_export_deploy › §4.2 The state of jax2tf |
jax.experimental.jax2tf.convert | Advanced 09_export_deploy › 🗂️ Cheat sheet |
jax.experimental.jet | Advanced 04_advanced_autodiff › Start |
jax.experimental.jet.jet | Advanced 04_advanced_autodiff › Cheat sheet |
jax.experimental.maps | Advanced 03_distributed › Cheat sheet; Basics 05_pmap › 5.4 Device meshes and axis names |
jax.experimental.maps.Mesh | Basics 05_pmap › 5.4 Device meshes and axis names |
jax.experimental.multihost_utils.process_allgather | Advanced 03_distributed › 3.8 Overview of multi-host programming |
jax.experimental.pallas | Advanced 07_pallas › How this connects to earlier chapters |
jax.experimental.shard_map | Advanced 03_distributed › 3.7 Nested pmap and advanced partitioning; Basics 05_pmap › 5.10 Summary |
jax.experimental.sparse | Advanced 11_scientific_computing › 3.1 Assembling the five-point matrix from triplets and cross-checking against SciPy CSR |
jax.experimental.sparse.BCOO | Advanced 04_advanced_autodiff › 4.5 Computing full Jacobians and Hessians; Advanced 11_scientific_computing › Start |
jax.experimental.sparse.linalg.spsolve | Advanced 11_scientific_computing › 3.3 BCOO + CG, and the state of sparse direct solvers |
jax.export | Advanced 09_export_deploy › Contents |
jax.export.deserialize | Advanced 09_export_deploy › §0 Environment notes and shared helpers |
jax.export.export | Advanced 09_export_deploy › Contents |
jax.extend.core | Advanced 05_interop_custom_ops › 5.6 Defining custom primitives |
jax.extend.core.ClosedJaxpr | Advanced 01_transformations_control_flow › 1.7 Understanding closures and JAX staging; Advanced 02_performance › 2.2 Understanding the JAX computation graph (jaxpr) |
jax.extend.core.Primitive | Advanced 05_interop_custom_ops › Links to the Basics part |
jax.extend.core.jaxpr_as_fun | Advanced 02_performance › 2.2 Understanding the JAX computation graph (jaxpr) |
jax.extend.core.jaxprs_in_params | Advanced 02_performance › 2.2 Understanding the JAX computation graph (jaxpr) |
jax.extend.mlir.dialects.stablehlo | Advanced 05_interop_custom_ops › 5.8 Implementing lowering rules for backends |
jax.extend.mlir.dialects.stablehlo.get_current_version | Advanced 09_export_deploy › 🗂️ Cheat sheet |
jax.extend.random | Advanced 10_random_sharding › 4.3 Why they differ: how counters are assigned |
jax.extend.random.threefry_2x32 | Advanced 10_random_sharding › Cheat sheet |
jax.ffi | Advanced 05_interop_custom_ops › Links to the Basics part; Advanced 07_pallas › How this connects to earlier chapters |
jax.ffi.ffi_call | Advanced 05_interop_custom_ops › 5.5 Introduction to JAX primitives; Advanced 09_export_deploy › §4.4 Wrapping a model as a service function with pure_callback: the trade-offs |
jax.ffi.ffi_lowering | Advanced 05_interop_custom_ops › 5.8 Implementing lowering rules for backends |
jax.ffi.include_dir | Advanced 05_interop_custom_ops › 5.10 Practice: integrating a C++ function |
jax.ffi.pycapsule | Advanced 05_interop_custom_ops › 5.10 Practice: integrating a C++ function |
jax.ffi.register_ffi_target | Advanced 05_interop_custom_ops › 5.10 Practice: integrating a C++ function |
jax.get_device | Basics 01_introduction › Chapter 1 quiz |
jax.grad | Advanced 01_transformations_control_flow › 1.1 Core transformations review: jit, grad, vmap; Advanced 02_performance › 2.2 Understanding the JAX computation graph (jaxpr); Advanced 04_advanced_autodiff › 4.1 Review of forward- and reverse-mode autodiff; Advanced 05_interop_custom_ops › 5.3 Calling external CPU/GPU code with jax.experimental.host_callback; Advanced 06_large_scale_training › 6.2 Introduction to JAX ecosystem libraries (Flax, Haiku); Advanced 07_pallas › Hands-on exercises |
jax.hessian | Advanced 04_advanced_autodiff › 4.4 Higher-order derivatives; Advanced 05_interop_custom_ops › 5.4 Side-effect-free calls with jax.pure_callback; Advanced 11_scientific_computing › 2.2 The matrix-free operator; Basics 03_grad › 3.3 How autodiff works: reverse mode; Basics 07_practical_topics › 3.3 Timing experiment: sweeping input/output dimensions |
jax.interpreters | Advanced 05_interop_custom_ops › Links to the Basics part |
jax.interpreters.ad | Advanced 05_interop_custom_ops › Cheat sheet; Advanced 07_pallas › 5.3 grad: not differentiable by default; use custom_vjp + a Pallas backward kernel |
jax.interpreters.mlir | Advanced 05_interop_custom_ops › Cheat sheet |
jax.interpreters.mlir.register_lowering | Advanced 05_interop_custom_ops › 5.8 Implementing lowering rules for backends |
jax.interpreters.xla | Advanced 05_interop_custom_ops › 5.8 Implementing lowering rules for backends |
jax.jacfwd | Advanced 01_transformations_control_flow › 1.1 Core transformations review: jit, grad, vmap; Advanced 04_advanced_autodiff › 4.2 Jacobian-vector products (JVPs) and jax.jvp; Advanced 09_export_deploy › §2.5 Exporting differentiable functions: vjp_order; Advanced 11_scientific_computing › Exercise 2: the sensitivity to the source term is the adjoint solution; Basics 03_grad › 3.2 Introducing jax.grad; Basics 07_practical_topics › 3.4 ❌ Common mistake: building $J$ when you only need $Jv$ |
jax.jacobian | Basics 03_grad › 3.2 Introducing jax.grad |
jax.jacrev | Advanced 01_transformations_control_flow › 1.1 Core transformations review: jit, grad, vmap; Advanced 04_advanced_autodiff › 4.5 Computing full Jacobians and Hessians; Basics 03_grad › 3.2 Introducing jax.grad; Basics 04_vmap › 4.6 Combining vmap with jit and grad; Basics 07_practical_topics › 📝 Chapter 7 quiz |
jax.jit | Advanced 01_transformations_control_flow › 1.1 Core transformations review: jit, grad, vmap; Advanced 02_performance › 2.1 Profiling JAX code on CPU, GPU and TPU; Advanced 03_distributed › 3.2 Device management in JAX; Advanced 05_interop_custom_ops › Hands-on exercises; Advanced 06_large_scale_training › 6.2 Introduction to JAX ecosystem libraries (Flax, Haiku); Advanced 07_pallas › §0 Probes: confirming the Pallas API in 0.12 |
jax.jvp | Advanced 04_advanced_autodiff › Start; Advanced 05_interop_custom_ops › 5.9 Differentiation rules for custom primitives; Advanced 07_pallas › Quiz; Advanced 09_export_deploy › §2.5 Exporting differentiable functions: vjp_order; Advanced 11_scientific_computing › 4.6 Nonlinear problems: lax.custom_root; Basics 03_grad › 3.2 Introducing jax.grad |
jax.lax | Advanced 03_distributed › 3.5 Collective communication primitives (psum, pmean, etc.); Advanced 05_interop_custom_ops › 5.3 Calling external CPU/GPU code with jax.experimental.host_callback; Basics 02_jit › 2.4 Python control flow and jit; Basics 03_grad › 3.8 Limitations and caveats; Basics 05_pmap › 5.5 Collective operations (lax.psum, lax.pmean, etc.) |
jax.lib.xla_client | Advanced 05_interop_custom_ops › 5.8 Implementing lowering rules for backends |
jax.linear_transpose | Advanced 04_advanced_autodiff › Start; Advanced 11_scientific_computing › 4.2 A variable-coefficient diffusion operator |
jax.linearize | Advanced 04_advanced_autodiff › Start; Basics 07_practical_topics › 3.3 Timing experiment: sweeping input/output dimensions |
jax.live_arrays | Advanced 08_debugging › Contents |
jax.local_device_count | Advanced 03_distributed › 3.2 Device management in JAX; Basics 05_pmap › 5.7 Debugging pmapped functions |
jax.local_devices | Advanced 03_distributed › 3.2 Device management in JAX |
jax.log_compiles | Advanced 02_performance › 0. Environment and shared helpers; Advanced 08_debugging › 5.1 jax_log_compiles: one compilation = 4 log lines |
jax.make_array_from_process_local_data | Advanced 03_distributed › 3.8 Overview of multi-host programming |
jax.make_jaxpr | Advanced 01_transformations_control_flow › Cheat sheet; Advanced 02_performance › 2.2 Understanding the JAX computation graph (jaxpr); Advanced 08_debugging › 2.1 jaxpr: spotting values that were treated as constants; Basics 01_introduction › 1.1 What is JAX?; Basics 02_jit › 2.3 How JIT works: tracing and compilation; Basics 03_grad › 3.3 How autodiff works: reverse mode |
jax.make_mesh | Advanced 03_distributed › 3.6 Handling axis names in pmap; Advanced 06_large_scale_training › 6.4 Combining pmap with training frameworks; Advanced 09_export_deploy › §2.7 Exporting functions with sharding, shard_map or pmap; Basics 05_pmap › 5.1 Introduction to data parallelism (SPMD) |
jax.monitoring | Advanced 08_debugging › Common setup; Basics 07_practical_topics › 0 Common setup |
jax.monitoring.register_event_duration_secs_listener | Advanced 08_debugging › Cheat sheet; Basics 07_practical_topics › 🗂️ Cheat sheet |
jax.monitoring.unregister_event_duration_listener | Basics 07_practical_topics › 🗂️ Cheat sheet |
jax.named_scope | Advanced 02_performance › 2.1 Profiling JAX code on CPU, GPU and TPU; Advanced 08_debugging › Contents |
jax.nn | Basics 03_grad › 3.8 Limitations and caveats; Basics 07_practical_topics › 2.3 Stable logsumexp / softmax / log_softmax |
jax.nn.log_sigmoid | Basics 03_grad › Extra exercises |
jax.nn.log_softmax | Basics 07_practical_topics › ★.3 Loss and training function |
jax.nn.logsumexp | Basics 07_practical_topics › 2.3 Stable logsumexp / softmax / log_softmax |
jax.nn.relu | Advanced 04_advanced_autodiff › 4.4 Higher-order derivatives; Basics 03_grad › 3.8 Limitations and caveats |
jax.nn.sigmoid | Advanced 04_advanced_autodiff › 4.10 Practice: implementing custom gradients; Basics 03_grad › 3.8 Limitations and caveats |
jax.nn.silu | Advanced 05_interop_custom_ops › Hands-on exercises |
jax.nn.softmax | Advanced 01_transformations_control_flow › 1.6 Advanced masking techniques; Basics 07_practical_topics › 🗂️ Cheat sheet |
jax.nn.softplus | Advanced 04_advanced_autodiff › 4.6 Custom differentiation rules with jax.custom_vjp |
jax.numpy | Advanced 02_performance › 2.2 Understanding the JAX computation graph (jaxpr); Advanced 05_interop_custom_ops › 5.1 Integrating JAX with NumPy; Basics 01_introduction › Start; Basics 03_grad › 3.9 Hands-on: computing gradients; Basics 04_vmap › 4.7 Performance considerations for vmap; Basics 06_state › 🧭 Course summary and where to go next |
jax.ops | Advanced 01_transformations_control_flow › 1.6 Advanced masking techniques |
jax.ops.segment_sum | Advanced 01_transformations_control_flow › How this connects to the Basics part |
jax.pmap | Advanced 03_distributed › Start; Advanced 06_large_scale_training › 6.4 Combining pmap with training frameworks; Basics 01_introduction › 1.1 What is JAX?; Basics 05_pmap › Start; Basics 06_state › 6.4 Using PyTrees for structured state |
jax.print_environment_info | Advanced 08_debugging › Contents; Basics 01_introduction › 1.4 Installation and setup |
jax.process_count | Advanced 03_distributed › 3.8 Overview of multi-host programming |
jax.process_index | Advanced 03_distributed › 3.8 Overview of multi-host programming; Advanced 10_random_sharding › Cheat sheet; Basics 05_pmap › 5.8 Hands-on: parallel computation |
jax.profiler | Advanced 02_performance › Start; Advanced 06_large_scale_training › 🧭 Where to go next; Advanced 07_pallas › 6.3 Tuning: block size, arithmetic intensity and the VMEM budget; Basics 06_state › 🧭 Course summary and where to go next |
jax.profiler.ProfileData.from_file | Advanced 02_performance › Cheat sheet |
jax.profiler.StepTraceAnnotation | Advanced 02_performance › 2.1 Profiling JAX code on CPU, GPU and TPU |
jax.profiler.TraceAnnotation | Advanced 02_performance › Cheat sheet |
jax.profiler.device_memory_profile | Advanced 08_debugging › 7.2 jax.profiler.save_device_memory_profile: who is using the memory |
jax.profiler.save_device_memory_profile | Advanced 02_performance › 2.1 Profiling JAX code on CPU, GPU and TPU; Advanced 08_debugging › 7.2 jax.profiler.save_device_memory_profile: who is using the memory |
jax.profiler.start_trace | Advanced 02_performance › 2.1 Profiling JAX code on CPU, GPU and TPU |
jax.profiler.stop_trace | Advanced 02_performance › 2.1 Profiling JAX code on CPU, GPU and TPU |
jax.profiler.trace | Advanced 02_performance › 2.1 Profiling JAX code on CPU, GPU and TPU; Advanced 08_debugging › 5.5 Slow code: what to check, in order |
jax.pure_callback | Advanced 04_advanced_autodiff › 4.7 Custom differentiation rules with jax.custom_jvp; Advanced 05_interop_custom_ops › Links to the Basics part; Advanced 08_debugging › 1.2 jax.debug.callback; Advanced 11_scientific_computing › 3.3 BCOO + CG, and the state of sparse direct solvers |
jax.random | Advanced 10_random_sharding › 2.2 Converting and serializing: key_data / wrap_key_data need impl; Basics 07_practical_topics › ★.1 Data: a three-arm spiral |
jax.random.PRNGKey | Advanced 01_transformations_control_flow › Version notes; Advanced 02_performance › 2.1 Profiling JAX code on CPU, GPU and TPU; Advanced 03_distributed › 3.4 Data parallelism with pmap; Advanced 04_advanced_autodiff › Version notes; Advanced 05_interop_custom_ops › Version notes; Advanced 06_large_scale_training › Version notes |
jax.random.bits | Advanced 10_random_sharding › Cheat sheet |
jax.random.fold_in | Advanced 09_export_deploy › §3.4 Working with Flax NNX: save, restore, keep training; Advanced 10_random_sharding › Cheat sheet; Basics 01_introduction › 1.5 Working with JAX arrays; Basics 06_state › 📝 Chapter 6 quiz |
jax.random.gumbel | Advanced 04_advanced_autodiff › Cheat sheet |
jax.random.key | Advanced 01_transformations_control_flow › Version notes; Advanced 02_performance › Version notes; Advanced 03_distributed › Start; Advanced 04_advanced_autodiff › 4.6 Custom differentiation rules with jax.custom_vjp; Advanced 05_interop_custom_ops › Version notes; Advanced 06_large_scale_training › Version notes |
jax.random.key_data | Advanced 08_debugging › 9.3 Hidden bug 3: reusing a random key; Advanced 10_random_sharding › Quiz; Basics 01_introduction › 1.5 Working with JAX arrays |
jax.random.key_impl | Advanced 10_random_sharding › Cheat sheet |
jax.random.normal | Advanced 01_transformations_control_flow › Version notes; Advanced 05_interop_custom_ops › Version notes; Advanced 10_random_sharding › Quiz; Basics 01_introduction › Cheat sheet |
jax.random.permutation | Basics 01_introduction › 1.7 Hands-on: basic array operations |
jax.random.randint | Basics 01_introduction › 1.7 Hands-on: basic array operations |
jax.random.split | Advanced 01_transformations_control_flow › Cheat sheet; Advanced 02_performance › Version notes; Advanced 10_random_sharding › 6.3 split(key) returns a key array, which can't be used directly as a key; Basics 01_introduction › 1.5 Working with JAX arrays; Basics 02_jit › 2.2 Introducing jax.jit; Basics 04_vmap › 4.6 Combining vmap with jit and grad |
jax.random.uniform | Advanced 10_random_sharding › Exercises |
jax.random.wrap_key_data | Advanced 10_random_sharding › Cheat sheet; Basics 01_introduction › 1.5 Working with JAX arrays |
jax.readthedocs.io | Basics 01_introduction › 1.1 What is JAX? |
jax.remat | Advanced 01_transformations_control_flow › Cheat sheet; Advanced 04_advanced_autodiff › 4.8 Differentiating through control-flow primitives; Advanced 06_large_scale_training › 6.6 Gradient checkpointing (rematerialization) |
jax.reshard | Basics 05_pmap › Cheat sheet |
jax.scipy | Basics 03_grad › 3.8 Limitations and caveats |
jax.scipy.sparse.linalg.cg | Advanced 11_scientific_computing › Start |
jax.scipy.sparse.linalg.gmres | Advanced 11_scientific_computing › Cheat sheet |
jax.scipy.special.gammaln | Advanced 05_interop_custom_ops › Hands-on exercises |
jax.scipy.special.logsumexp | Basics 03_grad › 3.8 Limitations and caveats |
jax.set_mesh | Advanced 03_distributed › Cheat sheet; Advanced 06_large_scale_training › 6.4 Combining pmap with training frameworks; Advanced 09_export_deploy › §2.7 Exporting functions with sharding, shard_map or pmap; Basics 05_pmap › Cheat sheet |
jax.shard_map | Advanced 03_distributed › Start; Advanced 06_large_scale_training › 6.4 Combining pmap with training frameworks; Basics 01_introduction › 1.1 What is JAX?; Basics 05_pmap › Start; Basics 06_state › 6.7 Combining state management with transformations |
jax.sharding | Basics 01_introduction › 1.1 What is JAX?; Basics 06_state › 6.7 Combining state management with transformations |
jax.sharding.Mesh | Advanced 03_distributed › Cheat sheet; Basics 05_pmap › 5.4 Device meshes and axis names |
jax.sharding.reshard | Advanced 03_distributed › 3.7 Nested pmap and advanced partitioning; Advanced 06_large_scale_training › 🗂️ Cheat sheet |
jax.sharding.use_abstract_mesh | Advanced 07_pallas › 6.2 compiler_params: backend-specific parameters |
jax.stages | Advanced 08_debugging › Contents; Basics 07_practical_topics › Learning goals |
jax.stages.Traced | Advanced 08_debugging › Cheat sheet |
jax.test_util | Advanced 04_advanced_autodiff › 4.6 Custom differentiation rules with jax.custom_vjp; Basics 03_grad › 3.8 Limitations and caveats |
jax.test_util.check_grads | Advanced 04_advanced_autodiff › 4.6 Custom differentiation rules with jax.custom_vjp; Advanced 05_interop_custom_ops › 5.9 Differentiation rules for custom primitives; Advanced 07_pallas › Cheat sheet; Advanced 08_debugging › 3.1 jax_debug_nans / jax_debug_infs; Basics 03_grad › 3.8 Limitations and caveats; Basics 07_practical_topics › 🗂️ Cheat sheet |
jax.transfer_guard | Advanced 08_debugging › 5.5 Slow code: what to check, in order |
jax.tree | Basics 06_state › Start; Basics 07_practical_topics › Learning goals |
jax.tree.all | Basics 01_introduction › Cheat sheet; Basics 06_state › 6.4 Using PyTrees for structured state |
jax.tree.broadcast | Basics 06_state › 6.4 Using PyTrees for structured state; Basics 07_practical_topics › 🗂️ Cheat sheet |
jax.tree.flatten | Basics 06_state › 6.4 Using PyTrees for structured state |
jax.tree.leaves | Advanced 01_transformations_control_flow › Cheat sheet; Basics 06_state › 6.4 Using PyTrees for structured state |
jax.tree.leaves_with_path | Basics 06_state › 6.4 Using PyTrees for structured state |
jax.tree.map | Advanced 01_transformations_control_flow › Cheat sheet; Advanced 03_distributed › Start; Advanced 06_large_scale_training › Version notes; Basics 01_introduction › Cheat sheet; Basics 03_grad › 3.4 Differentiating with respect to arguments; Basics 04_vmap › 4.6 Combining vmap with jit and grad |
jax.tree.map_with_path | Basics 06_state › 6.4 Using PyTrees for structured state; Basics 07_practical_topics › 🗂️ Cheat sheet |
jax.tree.reduce | Basics 06_state › 6.4 Using PyTrees for structured state; Basics 07_practical_topics › 🗂️ Cheat sheet |
jax.tree.static | Basics 07_practical_topics › 7.5 TrainState: register_dataclass vs. NamedTuple |
jax.tree.structure | Advanced 01_transformations_control_flow › Cheat sheet; Basics 06_state › 6.4 Using PyTrees for structured state |
jax.tree.transpose | Basics 06_state › 6.4 Using PyTrees for structured state; Basics 07_practical_topics › 🗂️ Cheat sheet |
jax.tree.unflatten | Basics 06_state › 6.4 Using PyTrees for structured state |
jax.tree_flatten | Basics 06_state › 6.4 Using PyTrees for structured state |
jax.tree_leaves | Basics 06_state › 6.4 Using PyTrees for structured state; Basics 07_practical_topics › 7.2 Old → new migration table (measured in 0.12) |
jax.tree_map | Advanced 03_distributed › 3.6 Handling axis names in pmap; Basics 04_vmap › 4.6 Combining vmap with jit and grad; Basics 06_state › 6.4 Using PyTrees for structured state; Basics 07_practical_topics › 7.2 Old → new migration table (measured in 0.12) |
jax.tree_reduce | Basics 06_state › 6.4 Using PyTrees for structured state |
jax.tree_structure | Basics 06_state › 6.4 Using PyTrees for structured state |
jax.tree_transpose | Basics 06_state › 6.4 Using PyTrees for structured state |
jax.tree_unflatten | Basics 06_state › 6.4 Using PyTrees for structured state |
jax.tree_util | Basics 06_state › 6.4 Using PyTrees for structured state; Basics 07_practical_topics › 7.2 Old → new migration table (measured in 0.12) |
jax.tree_util.keystr | Basics 06_state › 🗂️ Cheat sheet; Basics 07_practical_topics › 🗂️ Cheat sheet |
jax.tree_util.register_dataclass | Basics 06_state › 6.4 Using PyTrees for structured state; Basics 07_practical_topics › 🗂️ Cheat sheet |
jax.tree_util.register_pytree_node_class | Basics 06_state › 6.4 Using PyTrees for structured state |
jax.tree_util.register_static | Basics 07_practical_topics › 1.5 ✅ Fixes |
jax.tree_util.tree_all | Basics 06_state › 6.4 Using PyTrees for structured state |
jax.tree_util.tree_broadcast | Basics 06_state › 6.4 Using PyTrees for structured state |
jax.tree_util.tree_flatten | Basics 06_state › 6.4 Using PyTrees for structured state |
jax.tree_util.tree_leaves | Basics 06_state › 6.4 Using PyTrees for structured state |
jax.tree_util.tree_map | Advanced 01_transformations_control_flow › Cheat sheet; Advanced 06_large_scale_training › Version notes; Basics 04_vmap › 4.6 Combining vmap with jit and grad; Basics 06_state › 6.4 Using PyTrees for structured state |
jax.tree_util.tree_map_with_path | Basics 06_state › 6.4 Using PyTrees for structured state |
jax.tree_util.tree_multimap | Basics 06_state › 6.4 Using PyTrees for structured state |
jax.tree_util.tree_transpose | Basics 06_state › 6.4 Using PyTrees for structured state |
jax.typeof | Advanced 03_distributed › Start; Advanced 06_large_scale_training › 6.4 Combining pmap with training frameworks; Advanced 08_debugging › Contents; Basics 05_pmap › 5.5 Collective operations (lax.psum, lax.pmean, etc.) |
jax.value_and_grad | Advanced 06_large_scale_training › 6.6 Gradient checkpointing (rematerialization); Basics 01_introduction › 1.3 Core design: function transformations; Basics 03_grad › Start; Basics 05_pmap › 5.6 Combining pmap with other transformations; Basics 06_state › 6.7 Combining state management with transformations |
jax.vjp | Advanced 04_advanced_autodiff › Start; Advanced 05_interop_custom_ops › 5.9 Differentiation rules for custom primitives; Advanced 07_pallas › Hands-on exercises; Advanced 09_export_deploy › §2.5 Exporting differentiable functions: vjp_order; Basics 03_grad › 3.2 Introducing jax.grad; Basics 07_practical_topics › 🗂️ Cheat sheet |
jax.vmap | Advanced 01_transformations_control_flow › 1.1 Core transformations review: jit, grad, vmap; Advanced 02_performance › 2.2 Understanding the JAX computation graph (jaxpr); Advanced 05_interop_custom_ops › Hands-on exercises; Advanced 07_pallas › Hands-on exercises; Advanced 08_debugging › 📝 Quiz (6 questions); Advanced 09_export_deploy › §2.5 Exporting differentiable functions: vjp_order |