From Slack:
@sethaxen:
Does ExponentialUtilities.jl play well with AD packages, in particular Zygote?
@ChrisRackauckas:
not fully with Zygote
it'll need adjoints
since it's doing a lot of scalar stuff
it's writing the kernels directly
the adjoints are easy though
I in particular need adjoints for expv. Zygote currently has an adjoint rule for exp(::AbstractMatrix) and exp(::Hermitian) using the eigendecomposition. I imagine though there's a better way to implement the adjoints for expv by looking at the underlying algorithm (I have not).
From Slack:
@sethaxen:
@ChrisRackauckas:
I in particular need adjoints for
expv. Zygote currently has an adjoint rule forexp(::AbstractMatrix)andexp(::Hermitian)using the eigendecomposition. I imagine though there's a better way to implement the adjoints forexpvby looking at the underlying algorithm (I have not).