jax.jitjitjitjitgradjax.gradgrad of grad)jax.value_and_grad)vmapjax.vmapin_axes, out_axes)vmapvmap with jit and gradvmappmapjax.pmapin_axes, out_axes)lax.psum, lax.pmean, etc.)pmap with other Transformationspmapped Functionsin_axes, out_axes)Was this section helpful?
jax.vmap, providing comprehensive details on its parameters and behavior, including the in_axes and out_axes arguments for fine-grained control over vectorization.vmap, JAX core contributors, 2024 - An accessible official tutorial that explains the principles of automatic vectorization in JAX, featuring practical examples that illustrate the effective use of in_axes and out_axes for various batching scenarios.vmap and the precise roles of in_axes and out_axes in managing data flow.