It is like recipes but for AD! (Full functionality is in ChainRules.jl but this a light weight dependency just to define sensitivities for your functions in your packages)
89 Stars
Updated Last
2 Years Ago
Started In
July 2019


Build Status Coverage Code Style: Blue ColPrac: Contributor's Guide on Collaborative Practices for Community Packages DOI


The ChainRulesCore package provides a light-weight dependency for defining sensitivities for functions in your packages, without you needing to depend on ChainRules itself.

This will allow your package to be used with ChainRules.jl, which aims to provide a variety of common utilities that can be used by downstream automatic differentiation (AD) tools to define and execute forward-, reverse-, and mixed-mode primitives.

This package is a work in progress; PRs welcome!

Required Packages