Automatic differentiation (source code)

= Automatic differentiation
{wiki}

<Automatic differentiation> evaluates derivatives of a computational graph using the <chain rule>. Reverse mode is <backpropagation> and is useful for <reparameterization gradients> through simulated trajectories.