Skip to content

Commit 69e996a

Browse files
committed
Typos
1 parent 4b9e2fb commit 69e996a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/layers/normalise.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Chain(
8787
Dropout(0.5),
8888
)
8989
90-
julia> Flux.trainmode!(m); # activating the layer without actually training it
90+
julia> Flux.trainmode!(m);
9191
9292
julia> m([1, 2]) # drops neurons with a probability of 0.5
9393
2-element Vector{Float32}:

src/layers/upsample.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ julia> xs = rand(2, 2, 4, 1) # an image with 4 channels having 2X2 pixels in ea
102102
0.825737 0.98609
103103
0.757365 0.294784
104104
105-
julia> p(xs) # an image with only 1 channel with 4X4 pixels in the single channel
105+
julia> p(xs) # upsampled image with only 1 channel
106106
4×4×1×1 Array{Float64, 4}:
107107
[:, :, 1, 1] =
108108
0.826452 0.105997 0.0519244 0.422996

0 commit comments

Comments
 (0)