Skip to content

Commit 7ecc114

Browse files
committed
solve a complaint
1 parent 3b16df2 commit 7ecc114

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/data/dataloader.jl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,7 @@ julia> for epoch in 1:100
6262
end
6363
end
6464
65-
julia> first(train_loader) isa NamedTuple{(:data, :label)}
66-
true
67-
68-
julia> first(train_loader).label isa Vector{Char} # acces via property name
65+
julia> first(train_loader).label isa Vector{Char} # access via property name
6966
true
7067
7168
julia> first(train_loader).label == Ytrain[1:5] # because of shuffle=true

0 commit comments

Comments
 (0)