We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c64297 commit b81363aCopy full SHA for b81363a
test/compat/ad.jl
@@ -60,7 +60,7 @@ using Tracker
60
@test Tracker.data(y) ≈ lp
61
@test Tracker.data(back(1)[1]) ≈ grad
62
63
- y, back = Zygote.gradient(logp_model, x)
+ y, back = Zygote.pullback(logp_model, x)
64
@test y ≈ lp
65
@test back(1) ≈ grad
66
end
0 commit comments