Traced Once
jax.jit traces a Python function once per input signature (shapes/dtypes/pytree structure) and caches the resulting XLA computation. If the traced function contains a bare Python if x > 0: where x is a traced (non-static) array, what happens?
Sign in to answer questions and track your progress
Sign In