Skip to content

Commit

Permalink
Update src/utils.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Carlo Lucibello <carlo.lucibello@gmail.com>
  • Loading branch information
mcabbott and CarloLucibello authored Mar 5, 2022
1 parent fed18fd commit d559685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ Return a bias parameter for a layer, based on the value given
to the constructor's keyword `bias=bias`.
* `bias == true` creates a trainable array of the given size, of the same type as `weights`, initialised to zero.
* `bias == false` returns `false` now, which is understood by AD to be non-differentiable.
* `bias == false` returns `false`, which is understood by AD to be non-differentiable.
* `bias::AbstractArray` uses the array provided, provided it has the correct size.
It does not at present correct the `eltype` to match that of `weights`.
"""
Expand Down

0 comments on commit d559685

Please sign in to comment.