Skip to content

Commit 2fafbc7

Browse files
Noted that ForwardMode is DtO in its documentation
1 parent 167b3e9 commit 2fafbc7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

diffrax/_adjoint.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -880,6 +880,11 @@ class ForwardMode(AbstractAdjoint):
880880
as
881881
[`optimistix.LevenbergMarquardt`](https://docs.kidger.site/optimistix/api/least_squares/#optimistix.LevenbergMarquardt),
882882
that operate on the residuals.
883+
884+
For the autodifferentiation geeks: this is 'discretise then optimise' forward-mode,
885+
that is to say it operates through the internal numerics of the solver. (As compared
886+
to 'optimise then discretise' forward mode, which would set up another ODE to solve
887+
in parallel.)
883888
""" # noqa: E501
884889

885890
def loop(

0 commit comments

Comments
 (0)