remove Core for now

This commit is contained in:
Mike J Innes 2017-08-19 16:01:32 +01:00
parent 70393138bc
commit 380d32dac9
3 changed files with 2 additions and 17 deletions

View File

@ -16,9 +16,6 @@ export @net, unroll, unroll1, @shapes,
# Zero Flux Given
include("core.jl")
import .FluxCore: graph
include("Tracker/Tracker.jl")
using .Tracker

View File

@ -1,6 +1,8 @@
import DataFlow: cse
using MacroTools: @q, @>
graph(m) = nothing
function graphdef(ex, params = [])
@capture(shortdef(ex), (args__,) -> body_)
body = @> body MacroTools.flatten liftloops graphm DataFlow.il

View File

@ -1,14 +0,0 @@
# This code is in a submodule with the intention that it will be split into an
# interface package.
module FluxCore
"""
graph(model) => ::IVertex{Any} | nothing
Returns the graph representation of the model, if any. May be used for
compilation, generating symbolic gradients, etc.
"""
graph(m) = nothing
end