diff --git a/docs/src/models/advanced.md b/docs/src/models/advanced.md index 8757828594..c9895492a3 100644 --- a/docs/src/models/advanced.md +++ b/docs/src/models/advanced.md @@ -196,7 +196,7 @@ Split(paths...) = Split(paths) Flux.@functor Split -(m::Split)(x::AbstractArray) = tuple(map(f -> f(x), m.paths)) +(m::Split)(x::AbstractArray) = map(f -> f(x), m.paths) ``` Now we can test to see that our `Split` does indeed produce multiple outputs.