Skip to content

Commit

Permalink
fix rtol
Browse files Browse the repository at this point in the history
  • Loading branch information
mcabbott committed Oct 28, 2024
1 parent f91e1b7 commit 21f5027
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ end
end

@testset "lecun_normal" begin
@test std(Flux.lecun_normal(10, 1000)) 0.032f0 rtol=0.01
@test std(Flux.lecun_normal(1000, 10)) 0.317f0 rtol=0.01
@test std(Flux.lecun_normal(10, 1000)) 0.032f0 rtol=0.1
@test std(Flux.lecun_normal(1000, 10)) 0.317f0 rtol=0.1
end

@testset "Partial application" begin
Expand Down

0 comments on commit 21f5027

Please sign in to comment.