You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It feels a bit problematic that these expressions involve hypergeometric functions and hence probably would introduce a dependency on HypergeometricFunctions.jl. Before putting together any PRs, I would like to know what's the preferred way in ChainRules to deal with such dependencies that are only needed for computing the derivatives? I assume as well that maybe one should use the @thunk macro to avoid these rather lengthy calculations if one is not interested in the derivatives with respect to the order?
NB: they are now defines as a thunked error.
Not having these causes problems for an AD that unthunked everything, including things that are not consumed.
Which is not an ideal behavour, but it is the behavour of Zygote for now (hopefully will change soon) FluxML/Zygote.jl#873.
but more significantly, not having these means we can't take deriviative with respect to this.
The text was updated successfully, but these errors were encountered:
Transefering from JuliaDiff/ChainRules.jl#208
more details in that thread.
@devmotion said:
NB: they are now defines as a thunked error.
Not having these causes problems for an AD that unthunked everything, including things that are not consumed.
Which is not an ideal behavour, but it is the behavour of Zygote for now (hopefully will change soon) FluxML/Zygote.jl#873.
but more significantly, not having these means we can't take deriviative with respect to this.
The text was updated successfully, but these errors were encountered: