optional · interactive figures

30

Explore: automatic differentiation

Dual numbers flowing forward and adjoints flowing back through the graph of xy + sin x, one node at a time.

optional: nothing in the lab depends on itback to the slides

30 · explore

Forward and reverse, on one graph

Try: step each forward pass, then the reverse run; count how many passes each needs for both derivatives. Static versions: forward mode, the tape and its adjoints.