https://hgpu.org/?p=1855
Algorithmic Differentiation: Application to Variational Problems in Computer Vision