This commit is contained in:
CarloLucibello 2020-04-29 20:19:00 +02:00
parent c6ba49e8ea
commit 89191bdeb1
3 changed files with 3 additions and 5 deletions

View File

@ -10,7 +10,6 @@ export CMUDict, cmudict
deps(path...) = joinpath(@__DIR__, "..", "..", "deps", path...)
function download_and_verify(url, path, hash)
tmppath = tempname()
download(url, tmppath)
@ -52,7 +51,6 @@ export Iris
include("housing.jl")
export Housing
@deprecate DataLoader(x...; kws...) DataLoader(x; kws...)
end

View File

@ -36,7 +36,7 @@ Example usage:
train_loader.data # original dataset
# similar but yielding tuples
# similar, but yielding tuples
train_loader = DataLoader((Xtrain,), batchsize=2)
for (x,) in train_loader
@assert size(x) == (10, 2)