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
using StaticArrays
using Enzyme
Enzyme.API.printall!(true)
@noinlinefunctionlog_posterior(w_intercept)
first(w_intercept)
endfunctionfunc(x)
t =SVector{1}(Float64[x])
log_posterior(Base.inferencebarrier(t))::Float64end
y = Enzyme.autodiff(Enzyme.Reverse, func, Active(2.0))
@show y
The uninferred version of #840 runs, but produces an incorrect gradient. Enzyme and julia versions same as in #840.
output
MWE
The text was updated successfully, but these errors were encountered: