Skip to content

Commit d93a818

Browse files
committed
[AutoDiff upstream] Add PullbackEmitter.
`PullbackEmitter` is a visitor that emits pullback functions. It implements reverse-mode automatic differentiation, along with `VJPEmitter`. Pullback functions take derivatives with respect to outputs and return derivatives with respect to inputs. Every active value/address in an original function has a corresponding adjoint value/buffer in the pullback function. Pullback functions consume pullback structs and predecessor enums constructed by VJP functions.
1 parent 1775e8a commit d93a818

File tree

3 files changed

+2613
-0
lines changed

3 files changed

+2613
-0
lines changed

0 commit comments

Comments
 (0)