-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DifferentialEquation Op refactor (#3634)
* addition of test for equality checking of ODE Ops (not yet implemented) * WIP: refactoring the DifferentialEquation Op + full support for test_values + explicit input/output types + 2D return shape + optional return of sensitivities + gradient without helper Op * fully replace DifferentialEquation Op with the refactored implementation * align tests with refactored API + whitespace & condensed formatting + test for equality of identical Ops * use tt.stack as suggested by DeprecationWarning * always cast y0 and theta to floatX * allow some tests to fail on float32 (due to downcast exception) * don't use f-strings to maintain 3.5 support * link ODE refactor PR * renamed ODE notebooks + add notebooks to examples index * use (custom) errors instead of asserts * move ShapeError to exceptions.py
- Loading branch information
1 parent
cc55279
commit 225ae82
Showing
11 changed files
with
979 additions
and
814 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
Large diffs are not rendered by default.
Oops, something went wrong.
570 changes: 0 additions & 570 deletions
570
docs/source/notebooks/ODE_API_parameter_estimation.ipynb
This file was deleted.
Oops, something went wrong.
317 changes: 317 additions & 0 deletions
317
docs/source/notebooks/ODE_API_shapes_and_benchmarking.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
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
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.