JAXjax.readthedocs.io
A project space for every directory subject.
Turn a subject into a project.
Space to exploreThis space is dedicated to this subject. The source text stays intact; your brief, decisions and notes are saved separately in your account.
The sketch explained
JAX: applying a function to a batch
vmap transforms a function to operate over a batch axis. Each row illustrates the same operation on corresponding elements, followed by grouping the outputs.
On a small screen, scroll the diagram horizontally to read its labels.
- Input batch
- Rows represent batch elements; three rows are not a software limit.
- vmap transformation
- The transformation handles the vectorized axis without explicitly writing this Python loop.
- Output batch
- Results are grouped according to the axes specified by the transformation.
- Function f
- The same function acts on corresponding elements; boxes do not represent processors.
Loading project…
YOUR WORKING BRIEF
No sector-specific application is deployed automatically. This framework organizes your project and its decisions.



JAX / Flax