@@ -196,7 +196,7 @@ See also [`BatchNorm`](@ref), [`InstanceNorm`](@ref), [`GroupNorm`](@ref), and [
196
196
```jldoctest
197
197
julia> using Statistics
198
198
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
200
200
201
201
julia> m = LayerNorm(3);
202
202
@@ -312,7 +312,7 @@ Use [`testmode!`](@ref) during inference.
312
312
```julia
313
313
julia> using Statistics
314
314
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
316
316
317
317
julia> m = BatchNorm(3);
318
318
@@ -402,7 +402,7 @@ in previous Flux versions (< v0.12).
402
402
```jldoctest
403
403
julia> using Statistics
404
404
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
406
406
407
407
julia> m = InstanceNorm(3);
408
408
@@ -496,7 +496,7 @@ that will be used to renormalize the input in test phase.
496
496
```jldoctest
497
497
julia> using Statistics
498
498
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
500
500
501
501
julia> m = GroupNorm(4, 2);
502
502
0 commit comments