Skip to content

Commit e0222fd

Browse files
Fix indent of note
Missing indent was splitting half the note"Why `rrule` returns a pullback ..." outside the note box
1 parent ea252f0 commit e0222fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ even though they are not present in seperate forms in the code.
7171
While `rrule` takes only the arguments to the original function (the primal arguments) and returns a function (the pullback) that operates with the derivative information, the `frule` does it all at once.
7272
This is because the `frule` fuses the primal computation and the pushforward.
7373
This is an optimization that allows `frule`s to contain single large operations that perform both the primal computation and the pushforward at the same time (for example solving an ODE).
74-
This operation is only possible in forward mode (where `frule` is used) because the derivative information needed by the pushforward available with the `frule` is invoked -- it is about the primal function's inputs.
74+
This operation is only possible in forward mode (where `frule` is used) because the derivative information needed by the pushforward available with the `frule` is invoked -- it is about the primal function's inputs.
7575
In contrast, in reverse mode the derivative information needed by the pullback is about the primal function's output.
7676
Thus the reverse mode returns the pullback function which the caller (usually an AD system) keeps hold of until derivative information about the output is available.
7777

0 commit comments

Comments
 (0)