From 19619b15cff3bd7e0b00e82eacc90aded5cef826 Mon Sep 17 00:00:00 2001 From: JLDC Date: Sun, 24 Apr 2022 20:10:19 +0200 Subject: [PATCH] Update documentation on Split layer --- docs/src/models/advanced.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.