Skip to content

Commit 430f7a0

Browse files
Update src/layers/normalise.jl
Co-authored-by: Brian Chen <ToucheSir@users.noreply.github.com>
1 parent 10a2b52 commit 430f7a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/layers/normalise.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ julia> Flux.trainmode!(m);
7474
7575
julia> y = m([1]);
7676
77-
julia> count(i->(i == 0), y) == m[2].p # number of zeros == 1
77+
julia> y == [0]
7878
true
7979
8080
julia> m = Chain(Dense(1 => 1), Dropout(0.5));

0 commit comments

Comments
 (0)