Closed daseyb closed 1 year ago
Is there a way to compute higher-order partial derivatives of a multi-dimension function?
That is, for some scalar-valued function $f(x,y)$ I want to compute $\frac{\partial^2 f(x,y)}{\partial x \partial y}$.
I tried some variations of multiple calls to backwards, but I've always gotten a crash complaining about missing gradients.
backwards
Thanks!
It's not supported, Dr.Jit only computes first-order derivatives.
Is there a way to compute higher-order partial derivatives of a multi-dimension function?
That is, for some scalar-valued function $f(x,y)$ I want to compute $\frac{\partial^2 f(x,y)}{\partial x \partial y}$.
I tried some variations of multiple calls to
backwards
, but I've always gotten a crash complaining about missing gradients.Thanks!