Skip to content

Commit

Permalink
doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
mcabbott committed Oct 28, 2024
1 parent 21f5027 commit 47d8248
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -264,16 +264,16 @@ julia> round(std(Flux.lecun_normal(10, 1000)), digits=3)
0.032f0
julia> round(std(Flux.lecun_normal(1000, 10)), digits=3)
0.317f0
0.32f0
julia> round(std(Flux.lecun_normal(1000, 1000)), digits=3)
0.032f0
julia> Dense(10 => 1000, selu; init = Flux.lecun_normal())
Dense(10 => 1000, selu) # 11_000 parameters
julia> round(std(ans.weight), sigdigits=3)
0.319f0
julia> round(std(ans.weight), digits=3)
0.313f0
```
# References
Expand Down

0 comments on commit 47d8248

Please sign in to comment.