Skip to content

Commit

Permalink
Fix link
Browse files Browse the repository at this point in the history
  • Loading branch information
pxl-th committed Dec 12, 2024
1 parent 36dc721 commit 7f3a905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layers/normalise.jl
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ true
# Reference
Salimans & Kingma, _Weight Normalization_ (2016) https://arxiv.org/abs/1602.07868
Salimans & Kingma, _Weight Normalization_ (2016) <https://arxiv.org/abs/1602.07868>
"""
function WeightNorm(layer::L, which::Symbol = :weight; dims = -1) where L
hasfield(L, which) || throw(ArgumentError("`$L` does not have field `:$which`."))

Check warning on line 613 in src/layers/normalise.jl

View check run for this annotation

Codecov / codecov/patch

src/layers/normalise.jl#L612-L613

Added lines #L612 - L613 were not covered by tests
Expand Down

0 comments on commit 7f3a905

Please sign in to comment.