remove Core for now
This commit is contained in:
parent
70393138bc
commit
380d32dac9
@ -16,9 +16,6 @@ export @net, unroll, unroll1, @shapes,
|
|||||||
|
|
||||||
# Zero Flux Given
|
# Zero Flux Given
|
||||||
|
|
||||||
include("core.jl")
|
|
||||||
import .FluxCore: graph
|
|
||||||
|
|
||||||
include("Tracker/Tracker.jl")
|
include("Tracker/Tracker.jl")
|
||||||
using .Tracker
|
using .Tracker
|
||||||
|
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
import DataFlow: cse
|
import DataFlow: cse
|
||||||
using MacroTools: @q, @>
|
using MacroTools: @q, @>
|
||||||
|
|
||||||
|
graph(m) = nothing
|
||||||
|
|
||||||
function graphdef(ex, params = [])
|
function graphdef(ex, params = [])
|
||||||
@capture(shortdef(ex), (args__,) -> body_)
|
@capture(shortdef(ex), (args__,) -> body_)
|
||||||
body = @> body MacroTools.flatten liftloops graphm DataFlow.il
|
body = @> body MacroTools.flatten liftloops graphm DataFlow.il
|
||||||
|
14
src/core.jl
14
src/core.jl
@ -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
|
|
Loading…
Reference in New Issue
Block a user