CrackedAI
Problems Tracks Learn JAX Roadmap Articles
Log in Sign up
Problems Tracks Learn JAX Articles Roadmap
Log in Sign up
Radio

We can't find the internet

Attempting to reconnect

Something went wrong!

Attempting to reconnect

← All tracks

JAX Vectorization & Control Flow

vmap, scan, while_loop, fori_loop, cond, switch — JAX's primitives for batching and control flow.

0 / 25 solved Continue →
  1. 1. ○ vmap with in_axes
  2. 2. ○ vmap with out_axes
  3. 3. ○ vmap with None broadcasting
  4. 4. ○ Nested vmap (vmap-of-vmap)
  5. 5. ○ Cumulative Sum via lax.scan
  6. 6. ○ Running Mean via lax.scan
  7. 7. ○ Scan over Layer Stack
  8. 8. ○ Training Loop via lax.scan
  9. 9. ○ Scan with Per-Step Outputs
  10. 10. ○ Newton's Method via lax.while_loop
  11. 11. ○ Bounded Search via lax.while_loop
  12. 12. ○ lax.while_loop vs Python while
  13. 13. ○ x^n via lax.fori_loop
  14. 14. ○ fori vs scan vs while
  15. 15. ○ Binary Classification via lax.cond
  16. 16. ○ Multi-Branch Dispatch via lax.switch
  17. 17. ○ vmap over lax.cond
  18. 18. ○ vmap over lax.scan
  19. 19. ○ jit of scan
  20. 20. ○ vmap-cond vs where: cost tradeoff
  21. 21. ○ Dynamic Slice
  22. 22. ○ Dynamic Update Slice
  23. 23. ○ Associative Scan (Parallel Cumsum)
  24. 24. ○ lax.scan with reverse=True
  25. 25. ○ lax.map vs vmap