Skip to content

Commit 99136d9

Browse files
deprecate weight keyword arg in Conv constructor
1 parent 694f519 commit 99136d9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/layers/conv.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ end
3131

3232
"""
3333
Conv(filter, in => out, σ = identity;
34-
stride = 1, pad = 0, dilation = 1, groups = 1, [bias, weight, init])
34+
stride = 1, pad = 0, dilation = 1, groups = 1, [bias, init])
3535
3636
Standard convolutional layer. `filter` is a tuple of integers
3737
specifying the size of the convolutional kernel;
@@ -61,8 +61,6 @@ Then:
6161
6262
Keywords to control initialization of the layer:
6363
* `init` - Function used to generate initial weights. Defaults to `glorot_uniform`.
64-
* `weight` - Initial weights of the layer. Typically an array, and can be used to override
65-
other configurations. By default, these are generated using [`convfilter`](@ref).
6664
* `bias` - Initial bias is zero by default, this can be disabled entirely by setting it to
6765
[`Flux.Zeros()`](@ref) or equivalently `false`, or another vector provided as
6866
`bias = randn(Float32, out)`.

0 commit comments

Comments
 (0)