Skip to content

Commit c86580b

Browse files
fix normalise docstring
1 parent 91f2d47 commit c86580b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/layers/stateless.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ julia> mean(x), std(x; corrected=false)
1717
1818
julia> y = Flux.normalise(x)
1919
5-element Vector{Float64}:
20-
-0.49999975000012503
20+
-0.4999999999999375
2121
0.0
22-
0.49999975000012503
23-
1.499999250000375
24-
-1.499999250000375
22+
0.4999999999999375
23+
1.4999999999998124
24+
-1.4999999999998124
2525
2626
julia> isapprox(std(y; corrected=false), 1, atol=1e-5)
2727
true

0 commit comments

Comments
 (0)