1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] How does Jax turn Python code into Jaxpr?

Discussão em 'Python' iniciado por Stack, Setembro 9, 2025.

  1. Stack

    Stack Membro Participativo

    I want to know how Jax turns Python functions into Jaxprs when doing JIT and other operations. Some simple operations seem straight forward, but how does it compile more advanced NumPy functions like broadcast and reshape? It seems like I either get very high level tutorials or have to go into the source code.

    Is there any Post notation specification for how the compilation/translation is done from Python to Jaxpr? Any papers that explains this?

    Continue reading...

Compartilhe esta Página