From 33a5d26e57336889e9d38615e5875c0923dd3517 Mon Sep 17 00:00:00 2001 From: Mike J Innes Date: Sat, 9 Sep 2017 20:02:48 -0400 Subject: [PATCH] chain utility note --- src/layers/basic.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/layers/basic.jl b/src/layers/basic.jl index d99ae348..dfe73ab9 100644 --- a/src/layers/basic.jl +++ b/src/layers/basic.jl @@ -12,6 +12,7 @@ on a given input. m(x) == m[2](m[1](x)) `Chain` also supports indexing and slicing, e.g. `m[2]` or `m[1:end-1]`. +`m[1:3](x)` will calculate the output of the first three layers. """ type Chain layers::Vector{Any}