Skip to content

Commit

Permalink
Update eachobs.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
mcabbott authored Mar 21, 2024
1 parent a864a82 commit b3e62c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/eachobs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,8 @@ function Base.length(e::DataLoader)
end)
end

Base.size(e::DataLoader) = (length(e),)


Base.IteratorEltype(::DataLoader) = Base.EltypeUnknown()

Expand Down

0 comments on commit b3e62c4

Please sign in to comment.