arXiv · 2101.08095
Automatic Differentiation via Effects and Handlers: An Implementation in Frank
Abstract
Automatic differentiation (AD) is an important family of algorithms which enables derivative based optimization. We show that AD can be simply implemented with effects and handlers by doing so in the Frank language. By considering how our implementation behaves in Frank's operational semantics, we show how our code performs the dynamic creation of programs during evaluation.
Explore related subjects
Keep this discovery
Jesse Sigal. 2021-01-20. Automatic Differentiation via Effects and Handlers: An Implementation in Frank. https://arxiv.org/abs/2101.08095
Cite the original work for its findings. Save a collection to share your selection of sources.