arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2101.08095cs.PLcs.LG

Automatic Differentiation via Effects and Handlers: An Implementation in Frank

University of Edinburgh(爱丁堡大学)

Jesse Sigal

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑