And for a more complex “production” example, this post shows the overloads needed for exposing a function from the Boost math library with custom gradients: Gamma distribution quantile and inverse quantile function - #40 by andrjohns
1 Like