Skip to content

Commit

Permalink
solve a complaint
Browse files Browse the repository at this point in the history
  • Loading branch information
mcabbott committed Jul 2, 2021
1 parent 3b16df2 commit 7ecc114
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/data/dataloader.jl
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,7 @@ julia> for epoch in 1:100
end
end
julia> first(train_loader) isa NamedTuple{(:data, :label)}
true
julia> first(train_loader).label isa Vector{Char} # acces via property name
julia> first(train_loader).label isa Vector{Char} # access via property name
true
julia> first(train_loader).label == Ytrain[1:5] # because of shuffle=true
Expand Down

0 comments on commit 7ecc114

Please sign in to comment.