2000 character limit reached
Automatic Differentiation via Effects and Handlers: An Implementation in Frank
Published 20 Jan 2021 in cs.PL and cs.LG | (2101.08095v1)
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.
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.
Top Community Prompts
Collections
Sign up for free to add this paper to one or more collections.