Skip to content

Commit

Permalink
Fix Dense documentation
Browse files Browse the repository at this point in the history
Correct the documentation of the `Dense` constructor
  • Loading branch information
Sleort authored Mar 11, 2024
1 parent 8dd9bc2 commit c2008e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layers/basic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ end

"""
Dense(in_dims => out_dims, activation=identity; init_weight=glorot_uniform,
init_bias=zeros32, bias::Bool=true)
init_bias=zeros32, use_bias::Bool=true, allow_fast_activation::Bool=true)
Create a traditional fully connected layer, whose forward pass is given by:
`y = activation.(weight * x .+ bias)`
Expand Down

0 comments on commit c2008e2

Please sign in to comment.