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

07/09/2020
by   Deshana Desai, et al.
0

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.

READ FULL TEXT
research
11/07/2017

Tangent: Automatic Differentiation Using Source Code Transformation in Python

Automatic differentiation (AD) is an essential primitive for machine lea...
research
02/28/2022

CGAL Made More Accessible

We introduce bindings that enable the convenient, efficient, and reliabl...
research
08/29/2020

Efficient Computation of Expectations under Spanning Tree Distributions

We give a general framework for inference in spanning tree models. We pr...
research
07/05/2019

Automatic Differentiation for Adjoint Stencil Loops

Stencil loops are a common motif in computations including convolutional...
research
06/20/2016

Benchmarking Python Tools for Automatic Differentiation

In this paper we compare several Python tools for automatic differentiat...
research
12/09/2019

JAX, M.D.: End-to-End Differentiable, Hardware Accelerated, Molecular Dynamics in Pure Python

A large fraction of computational science involves simulating the dynami...
research
03/29/2022

The DESC Stellarator Code Suite Part II: Perturbation and continuation methods

A new perturbation and continuation method is presented for computing an...

Please sign up or login with your details

Forgot password? Click here to reset