no longer needed

This commit is contained in:
Mike J Innes 2018-07-12 20:48:07 +01:00
parent 00cfe24d66
commit aa209ee137

View File

@ -38,9 +38,6 @@ function Base.show(io::IO, c::Chain)
print(io, ")")
end
# Seem to need this for `accumulate`; try removing on 0.7
Base.rcum_promote_type(op, ::Type, ::Type{Any}) = Any
activations(c::Chain, x) = accumulate((x, m) -> m(x), x, c.layers)
"""