reorganise batches
This commit is contained in:
parent
34217b1fa2
commit
1baa7227e3
@ -34,7 +34,6 @@ include("layers/conv.jl")
|
|||||||
include("layers/recurrent.jl")
|
include("layers/recurrent.jl")
|
||||||
include("layers/normalisation.jl")
|
include("layers/normalisation.jl")
|
||||||
|
|
||||||
include("batches/Batches.jl")
|
|
||||||
include("data/Data.jl")
|
include("data/Data.jl")
|
||||||
|
|
||||||
include("jit/JIT.jl")
|
include("jit/JIT.jl")
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
module Batches
|
|
||||||
|
|
||||||
import ..Flux
|
|
||||||
|
|
||||||
export Tree
|
|
||||||
|
|
||||||
include("tree.jl")
|
|
||||||
|
|
||||||
end
|
|
@ -14,6 +14,7 @@ include("mnist.jl")
|
|||||||
include("cmudict.jl")
|
include("cmudict.jl")
|
||||||
using .CMUDict
|
using .CMUDict
|
||||||
|
|
||||||
|
include("tree.jl")
|
||||||
include("sentiment.jl")
|
include("sentiment.jl")
|
||||||
using .Sentiment
|
using .Sentiment
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ function getfile(name)
|
|||||||
return text
|
return text
|
||||||
end
|
end
|
||||||
|
|
||||||
using ..Flux.Batches
|
using ..Data: Tree
|
||||||
|
|
||||||
totree_(n, w) = Tree{Any}((parse(Int, n), w))
|
totree_(n, w) = Tree{Any}((parse(Int, n), w))
|
||||||
totree_(n, a, b) = Tree{Any}((parse(Int, n), nothing), totree(a), totree(b))
|
totree_(n, a, b) = Tree{Any}((parse(Int, n), nothing), totree(a), totree(b))
|
||||||
|
Loading…
Reference in New Issue
Block a user