-
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.
Merge branch 'develop' into jax_sciml
- Loading branch information
Showing
11 changed files
with
184 additions
and
77 deletions.
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
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,7 +1,22 @@ | ||
"""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 | ||
from amici.jax.nn import generate_equinox | ||
|
||
warn( | ||
"The JAX module is experimental and the API may change in the future.", | ||
ImportWarning, | ||
stacklevel=2, | ||
) | ||
|
||
__all__ = ["JAXModel", "JAXProblem", "run_simulations", "generate_equinox"] | ||
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
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
Oops, something went wrong.