Skip to content

Commit

Permalink
fix doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
CarloLucibello committed Mar 9, 2021
1 parent 635ab1b commit c4b632f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,6 @@ julia> Flux.modules(m2)
BatchNorm(64, relu)
Dense(64, 10)
## L2 regularization applied only on dense layers' weights
julia> L2(m) = sum(sum(abs2, l.weight) for l in Flux.modules(m) if l isa Dense)
L2 (generic function with 1 method)
```
Expand Down

0 comments on commit c4b632f

Please sign in to comment.