4 ms·
Could you naively compose the distance functions and then use automatic differentiation to compute the gradient? As long as the distance functions are differen
by Athas 5y ago
Could you naively compose the distance functions and then use automatic differentiation to compute the gradient? As long as the distance functions are differentiable, so should their composition be.
- xyzzy_plugh 5y agoPossibly but I suspect that is more complex than it seems at first glance.
- Athas 5y agoCertainly, it reduces to reverse-mode AD on fairly arbitrary (although usual scalar) code. You definitely need a compiler or preprocessor to do that for you.