Skip to content

Commit 004b369

Browse files
committed
Fix the shape of images in comments
1 parent 4beb2a2 commit 004b369

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/layers/normalise.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ See also [`BatchNorm`](@ref), [`InstanceNorm`](@ref), [`GroupNorm`](@ref), and [
196196
```jldoctest
197197
julia> using Statistics
198198
199-
julia> xs = rand(3, 3, 3, 2); # a batch of 2 3X3X3 images
199+
julia> xs = rand(3, 3, 3, 2); # a batch of 2 images, each having 3 channels
200200
201201
julia> m = LayerNorm(3);
202202
@@ -312,7 +312,7 @@ Use [`testmode!`](@ref) during inference.
312312
```julia
313313
julia> using Statistics
314314
315-
julia> xs = rand(3, 3, 3, 2); # a batch of 2 3X3X3 images
315+
julia> xs = rand(3, 3, 3, 2); # a batch of 2 images, each having 3 channels
316316
317317
julia> m = BatchNorm(3);
318318
@@ -402,7 +402,7 @@ in previous Flux versions (< v0.12).
402402
```jldoctest
403403
julia> using Statistics
404404
405-
julia> xs = rand(3, 3, 3, 2); # a batch of 2 3X3X3 images
405+
julia> xs = rand(3, 3, 3, 2); # a batch of 2 images, each having 3 channels
406406
407407
julia> m = InstanceNorm(3);
408408
@@ -496,7 +496,7 @@ that will be used to renormalize the input in test phase.
496496
```jldoctest
497497
julia> using Statistics
498498
499-
julia> xs = rand(3, 3, 4, 2); # a batch of 2 3X3X4 images
499+
julia> xs = rand(3, 3, 4, 2); # a batch of 2 images, each having 4 channels
500500
501501
julia> m = GroupNorm(4, 2);
502502

0 commit comments

Comments
 (0)