Skip to content

Commit 44fe8e4

Browse files
Saransh-cppmcabbott
andcommitted
Update src/layers/conv.jl
Co-authored-by: Michael Abbott <[email protected]>
1 parent 2bac906 commit 44fe8e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/layers/conv.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ See also [`Conv`](@ref), [`MaxPool`](@ref).
2222
2323
# Examples
2424
```jldoctest
25-
julia> xs = rand(Float32, 100, 100, 3, 50); # a batch of image
25+
julia> xs = rand(Float32, 100, 100, 3, 50); # a batch of images
2626
2727
julia> layer = Conv((2,2), 3 => 7, pad=SamePad())
2828
Conv((2, 2), 3 => 7, pad=(1, 0, 1, 0)) # 91 parameters
2929
30-
julia> layer(xs) |> size # notice how the dimensions would stay same as "same" padding is applied
30+
julia> layer(xs) |> size # notice how the dimensions stay the same with this padding
3131
(100, 100, 7, 50)
3232
3333
julia> layer2 = Conv((2,2), 3 => 7)

0 commit comments

Comments
 (0)