-
Hi @gdalle. After discovering this new package, I'm considering a possible migration from |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hi @gerlero, |
Beta Was this translation helpful? Give feedback.
-
As of v0.5.5, Thanks to @gdalle for his willingness and help in adding this functionality to the package. |
Beta Was this translation helpful? Give feedback.
Hi @gerlero,
I remember your PR to AbstractDifferentiation implementing this functionality (JuliaDiff/AbstractDifferentiation.jl#122). At the moment, DifferentiationInterface doesn't offer it, and second-order operators have to be computed separately.
I've been meaning to add
value_gradient_and_hessian
for a while, but only two backends have optimized implementations so far: ForwardDiff and ReverseDiff. As forvalue_derivative_and_second_derivative
, only ForwardDiff can make it in a single pass (that I'm aware of). It's definitely possible, but I haven't gotten around to it, precisely because you get no benefits at all except for a single backend. I think TaylorDiff might also be efficien…