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
There are use cases where users may want to dispatch on a particular subtype of ADGradientWrapper for customized behavior based on different AD backend.
One example of this is TuringLang/DynamicPPL.jl#626, where we want to be able to dispatch on ReverseDiffLogDensity, because we may need to recompute the cached tape. Now because ReverseDiffLogDensity is defined in package extension, it is invisible.
Would it make sense to move all (or some) of the definition of ADGradientWrapper subtypes into the main package to expose the name of the wrapper?