tracker submodule

This commit is contained in:
Mike J Innes 2017-08-19 11:06:19 +01:00
parent 15c4f38130
commit 1889ccd316
3 changed files with 7 additions and 1 deletions

View File

@ -19,8 +19,10 @@ export @net, unroll, unroll1, @shapes,
include("core.jl")
import .FluxCore: graph
include("Tracker/Tracker.jl")
using .Tracker
include("utils.jl")
include("grad/track.jl")
include("params.jl")
include("compiler/code.jl")

View File

@ -1,3 +1,5 @@
module Tracker
data(x) = x
struct Call{F,As<:Tuple}
@ -54,3 +56,5 @@ function Base.showarray(io::IO, X::Var, repr::Bool = true; header = true)
Base.showarray(io, data(X), false, header = false)
end
end
end