Skip to content

Commit

Permalink
test: set lower atol
Browse files Browse the repository at this point in the history
  • Loading branch information
DhairyaLGandhi committed Nov 18, 2024
1 parent 8b26c43 commit 074bf22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/alternative_ad_frontend.jl
Original file line number Diff line number Diff line change
Expand Up @@ -247,5 +247,5 @@ grad_fd = ForwardDiff.gradient(loss2, p)
grad_zg = Zygote.gradient(loss2, p)[1]
grad_rd = ReverseDiff.gradient(loss2, p)
@test grad_fdgrad_fi atol=1e-2
@test grad_fd grad_zg
@test grad_fd grad_rd
@test grad_fd grad_zg atol=1e-4
@test grad_fd grad_rd atol=1e-4

0 comments on commit 074bf22

Please sign in to comment.