Skip to content

Commit 1dc6910

Browse files
committed
Shorten docstrings
1 parent eab30a8 commit 1dc6910

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/layers/conv.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,7 @@ end
131131
Conv(weight::AbstractArray, [bias, activation; stride, pad, dilation])
132132
133133
Constructs a convolutional layer with the given weight and bias.
134-
Accepts the same keywords (and has the same defaults) as the `Conv((4,4), 3 => 7, relu)`
135-
method.
134+
Accepts the same keywords and has the same defaults as `Conv((4,4), 3 => 7, relu)`.
136135
137136
```jldoctest
138137
julia> weight = rand(3, 4, 5);
@@ -269,7 +268,7 @@ _channels_out(l::ConvTranspose) = size(l.weight)[end-1]*l.groups
269268
ConvTranspose(weight::AbstractArray, [bias, activation; stride, pad, dilation, groups])
270269
271270
Constructs a ConvTranspose layer with the given weight and bias.
272-
Accepts the same keywords (and has the same defaults) as the `ConvTranspose((4,4), 3 => 7, relu)` method.
271+
Accepts the same keywords and has the same defaults as `ConvTranspose((4,4), 3 => 7, relu)`.
273272
274273
# Examples
275274
```jldoctest

0 commit comments

Comments
 (0)