Exemple #1
0
def _update_global_jit_state(**kw):
  gs = jax_jit.global_state()
  context = gs.extra_jit_context or _GlobalExtraJitContext()
  gs.extra_jit_context = context._replace(**kw)
Exemple #2
0
def update_global_jit_state(**kw):
    gs = jax_jit.global_state()
    context = gs.extra_jit_context or GlobalJitState()
    gs.extra_jit_context = context._replace(**kw)