clean up interpreter imports
This commit is contained in:
parent
7750f5375b
commit
abe4ab94aa
@ -4,7 +4,7 @@ using MacroTools, Lazy, DataFlow, Juno
|
|||||||
using DataFlow: graphm, syntax, prewalk!, postwalk!, prewalk, postwalk,
|
using DataFlow: graphm, syntax, prewalk!, postwalk!, prewalk, postwalk,
|
||||||
iscyclic, Constant, constant, isconstant, group, Split, splitnode,
|
iscyclic, Constant, constant, isconstant, group, Split, splitnode,
|
||||||
detuple, value, inputs, thread!, value, inputs, Split, splitnode, inputnode,
|
detuple, value, inputs, thread!, value, inputs, Split, splitnode, inputnode,
|
||||||
spliceinputs, bumpinputs, Frame
|
spliceinputs, bumpinputs, Frame, applylines
|
||||||
using Juno: Tree, Row
|
using Juno: Tree, Row
|
||||||
|
|
||||||
# Zero Flux Given
|
# Zero Flux Given
|
||||||
|
@ -7,9 +7,8 @@ function nodename(s::mx.SymbolicNode)
|
|||||||
end
|
end
|
||||||
|
|
||||||
using Base: @get!
|
using Base: @get!
|
||||||
using DataFlow: Constant, constant, Context, interpret, Split,
|
using DataFlow: Constant, constant
|
||||||
interpv, ituple, ilambda, iconst, iline, iargs, stack, mux,
|
using DataFlow.Interpreter
|
||||||
@ithrow, @icatch
|
|
||||||
using Flux: imap
|
using Flux: imap
|
||||||
|
|
||||||
# TODO: implement Julia's type promotion rules
|
# TODO: implement Julia's type promotion rules
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
using Base: @get!
|
using Base: @get!
|
||||||
using DataFlow: Constant, constant, Context, interpret, Split,
|
using DataFlow: Constant, constant, Split
|
||||||
interpv, ituple, ilambda, iconst, iline, stack, mux
|
using DataFlow.Interpreter
|
||||||
using Flux: imap
|
using Flux: imap
|
||||||
using TensorFlow: RawTensor
|
using TensorFlow: RawTensor
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using DataFlow: mux, interpret, interpv, ituple, ilambda, iconst, Context
|
using DataFlow.Interpreter
|
||||||
|
|
||||||
function astuple(xs::Vertex)
|
function astuple(xs::Vertex)
|
||||||
isconstant(xs) && isa(value(xs).value, Tuple) ? value(xs).value :
|
isconstant(xs) && isa(value(xs).value, Tuple) ? value(xs).value :
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using DataFlow: ilinev, iargs, applylines, Line
|
using DataFlow.Interpreter
|
||||||
|
|
||||||
type Hint
|
type Hint
|
||||||
typ
|
typ
|
||||||
|
Loading…
Reference in New Issue
Block a user