Skip to content

Commit c4b632f

Browse files
fix doctest
1 parent 635ab1b commit c4b632f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/utils.jl

-1
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,6 @@ julia> Flux.modules(m2)
731731
BatchNorm(64, relu)
732732
Dense(64, 10)
733733
734-
## L2 regularization applied only on dense layers' weights
735734
julia> L2(m) = sum(sum(abs2, l.weight) for l in Flux.modules(m) if l isa Dense)
736735
L2 (generic function with 1 method)
737736
```

0 commit comments

Comments
 (0)