chain utility note

This commit is contained in:
Mike J Innes 2017-09-09 20:02:48 -04:00
parent fedee95b14
commit 33a5d26e57

View File

@ -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}