You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Goal: automatic differentiation of compiled functions #2589
Automatic differentiation of a compiled function: the derivative's value at a point, computed with the function, without building the symbolic derivative.
Differentiate is symbolic and its result can be far larger than the function (a product of n factors gives n terms). Forward mode (dual numbers) and reverse mode (a tape) give the gradient at the cost of a few evaluations, which is what optimisation and machine learning use.
Compile to a delegate returning the value and the gradient.
Agreement with the compiled symbolic derivative at sample points, as compilecheck does for values.
Activity