We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db0406d commit 4391a17Copy full SHA for 4391a17
src/layers/basic.jl
@@ -68,7 +68,6 @@ end
68
Base.getindex(c::Chain, i::AbstractArray) = Chain(c.layers[i])
69
Base.getindex(c::Chain{<:NamedTuple}, i::AbstractArray) =
70
Chain(NamedTuple{Base.keys(c)[i]}(Tuple(c.layers)[i]))
71
-Base.firstindex(c::Chain) = 1
72
function Base.show(io::IO, c::Chain)
73
print(io, "Chain(")
74
_show_layers(io, c.layers)
0 commit comments