Skip to content

Commit 74eb83b

Browse files
mcabbottToucheSir
andauthored
Update src/layers/basic.jl
Co-authored-by: Brian Chen <ToucheSir@users.noreply.github.com>
1 parent c5200d5 commit 74eb83b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/layers/basic.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ See also [`Parallel`](@ref) to reduce with other operators.
228228
229229
# Examples
230230
```
231-
julia> m = Maxout(Dense([1;;], false, abs2), Dense([3;;]));
231+
julia> m = Maxout(x -> abs2.(x), x -> x .* 3);
232232
233233
julia> m([-2 -1 0 1 2])
234234
1×5 Matrix{Int64}:

0 commit comments

Comments
 (0)