ACORNS: An Easy-To-Use Code Generator for Gradients and Hessians

Published: 01 Jan 2020, Last Modified: 13 Nov 2024CoRR 2020EveryoneRevisionsBibTeXCC BY-SA 4.0
Abstract: The computation of first and second-order derivatives is a staple in many computing applications, ranging from machine learning to scientific computing. We propose an algorithm to automatically differentiate algorithms written in a subset of C99 code and its efficient implementation as a Python script. We demonstrate that our algorithm enables automatic, reliable, and efficient differentiation of common algorithms used in physical simulation and geometry processing.
Loading