keeping activations separate

This commit is contained in:
dsweber2 2019-11-15 12:03:08 -08:00
parent 89afa20410
commit 20eb840882

View File

@ -31,8 +31,6 @@ applychain(fs::Tuple, x) = applychain(tail(fs), first(fs)(x))
(c::Chain)(x) = applychain(c.layers, x) (c::Chain)(x) = applychain(c.layers, x)
(c::Chain)(x) = extraChain(c.layers, x)
Base.getindex(c::Chain, i::AbstractArray) = Chain(c.layers[i]...) Base.getindex(c::Chain, i::AbstractArray) = Chain(c.layers[i]...)
function Base.show(io::IO, c::Chain) function Base.show(io::IO, c::Chain)