提交 174cea8f authored 作者: Brandon T. Willard's avatar Brandon T. Willard

Simplify tests.gof.test_op imports

上级 da6ea2fb
...@@ -5,14 +5,12 @@ import theano.gof.op as op ...@@ -5,14 +5,12 @@ import theano.gof.op as op
import theano.tensor as tt import theano.tensor as tt
from six import string_types from six import string_types
from theano import scalar, shared from theano import scalar, shared, config
from theano.gof import utils
from theano.configparser import change_flags from theano.configparser import change_flags
from theano.gof.graph import Apply, Variable from theano.gof.graph import Apply, Variable
from theano.gof.type import Generic, Type from theano.gof.type import Generic, Type
from theano.gof.op import Op
config = theano.config
Op = op.Op
utils = op.utils
def as_variable(x): def as_variable(x):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论