提交 f3acb0db authored 作者: abalkin's avatar abalkin

Removed unused import and converted relative imports to absolute.

上级 afed1ada
...@@ -35,29 +35,27 @@ For more details and discussion, see the theano-dev ...@@ -35,29 +35,27 @@ For more details and discussion, see the theano-dev
e-mail thread "What is gof?" e-mail thread "What is gof?"
""" """
import sys from theano.gof.cc import \
from cc import \
CLinker, OpWiseCLinker, DualLinker CLinker, OpWiseCLinker, DualLinker
import compiledir # adds config vars import theano.gof.compiledir # adds config vars
from fg import \ from theano.gof.fg import \
InconsistencyError, MissingInputError, FunctionGraph InconsistencyError, MissingInputError, FunctionGraph
from destroyhandler import \ from theano.gof.destroyhandler import \
DestroyHandler DestroyHandler
from graph import \ from theano.gof.graph import \
Apply, Variable, Constant, view_roots Apply, Variable, Constant, view_roots
from link import \ from theano.gof.link import \
Container, Linker, LocalLinker, PerformLinker, WrapLinker, WrapLinkerMany Container, Linker, LocalLinker, PerformLinker, WrapLinker, WrapLinkerMany
from op import \ from theano.gof.op import \
Op, OpenMPOp, PureOp, ops_with_inner_function Op, OpenMPOp, PureOp, ops_with_inner_function
from opt import (Optimizer, optimizer, SeqOptimizer, from theano.gof.opt import (Optimizer, optimizer, SeqOptimizer,
MergeOptimizer, MergeOptMerge, MergeOptimizer, MergeOptMerge,
LocalOptimizer, local_optimizer, LocalOptGroup, LocalOptimizer, local_optimizer, LocalOptGroup,
OpSub, OpRemove, PatternSub, OpSub, OpRemove, PatternSub,
...@@ -65,18 +63,18 @@ from opt import (Optimizer, optimizer, SeqOptimizer, ...@@ -65,18 +63,18 @@ from opt import (Optimizer, optimizer, SeqOptimizer,
InplaceOptimizer, PureThenInplaceOptimizer, InplaceOptimizer, PureThenInplaceOptimizer,
OpKeyOptimizer) OpKeyOptimizer)
from optdb import \ from theano.gof.optdb import \
DB, Query, \ DB, Query, \
EquilibriumDB, SequenceDB, ProxyDB EquilibriumDB, SequenceDB, ProxyDB
from toolbox import \ from theano.gof.toolbox import \
Feature, \ Feature, \
Bookkeeper, History, Validator, ReplaceValidate, NodeFinder,\ Bookkeeper, History, Validator, ReplaceValidate, NodeFinder,\
PrintListener, ReplacementDidntRemovedError PrintListener, ReplacementDidntRemovedError
from type import \ from theano.gof.type import \
Type, Generic, generic Type, Generic, generic
from utils import \ from theano.gof.utils import \
object2, MethodNotDefined object2, MethodNotDefined
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论