lmlib.statespace.backend.set_backend#

lmlib.statespace.backend.set_backend(backend)#

Selects one out of multiple available backends (to optimize execution performance).

Parameters

backend (str ("jit", "py", "python")) –

  • “py” (default), “python”: Plain Python

  • ”jit”: Just-in-Time compilation (if available)

If the selected backend is not available, an assert is risen. Use is_backend_available() to check availability first.