Skip to content

Commit 4391a17

Browse files
Update src/layers/basic.jl
Co-authored-by: Brian Chen <[email protected]>
1 parent db0406d commit 4391a17

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/layers/basic.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ end
6868
Base.getindex(c::Chain, i::AbstractArray) = Chain(c.layers[i])
6969
Base.getindex(c::Chain{<:NamedTuple}, i::AbstractArray) =
7070
Chain(NamedTuple{Base.keys(c)[i]}(Tuple(c.layers)[i]))
71-
Base.firstindex(c::Chain) = 1
7271
function Base.show(io::IO, c::Chain)
7372
print(io, "Chain(")
7473
_show_layers(io, c.layers)

0 commit comments

Comments
 (0)