remove batching work for now

This commit is contained in:
Mike J Innes 2018-01-24 13:12:38 +00:00
parent 2b545cf0ca
commit 5118ef9163
3 changed files with 0 additions and 17 deletions

View File

@ -34,6 +34,4 @@ include("layers/normalisation.jl")
include("data/Data.jl")
include("batches/Batches.jl")
end # module

View File

@ -1,7 +0,0 @@
module Batches
import ..Flux
include("batch.jl")
end

View File

@ -1,8 +0,0 @@
struct Batch{T,A,M}
data::A
mask::M
end
Batch{T}(data, mask) where T = Batch{T,typeof(data),typeof(mask)}(data, mask)
Batch(xs) = Batch{typeof(first(xs))}(Flux.batch(xs),trues(length(xs)))