-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* mark jax experimental * add JAX import warning to pyest.ini
- Loading branch information
1 parent
0d49041
commit d1c8250
Showing
2 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,21 @@ | ||
"""Interface to facilitate AMICI generated models using JAX""" | ||
""" | ||
JAX | ||
--- | ||
This module provides an interface to generate and use AMICI models with JAX. Please note that this module is | ||
experimental, the API may substantially change in the future. Use at your own risk and do not expect backward | ||
compatibility. | ||
""" | ||
|
||
from warnings import warn | ||
|
||
from amici.jax.petab import JAXProblem, run_simulations | ||
from amici.jax.model import JAXModel | ||
|
||
warn( | ||
"The JAX module is experimental and the API may change in the future.", | ||
ImportWarning, | ||
stacklevel=2, | ||
) | ||
|
||
__all__ = ["JAXModel", "JAXProblem", "run_simulations"] |