jax.jit
jit
jit
jit
grad
jax.grad
grad
of grad
)jax.value_and_grad
)vmap
jax.vmap
in_axes
, out_axes
)vmap
vmap
with jit
and grad
vmap
pmap
jax.pmap
in_axes
, out_axes
)lax.psum
, lax.pmean
, etc.)pmap
with other Transformationspmap
ped Functionsvmap
with jit
and grad
Was this section helpful?
jit
, grad
, and vmap
, and demonstrates their basic usage and composability.jit
, grad
, vmap
), which is fundamental to the section's content.grad
transformation.jit
transformation to achieve high performance on various hardware accelerators.