提交 9defa5a2 authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Fix circular import

上级 af8f19b6
......@@ -7,7 +7,6 @@ types that it can raise
import sys
import theano
from theano import gof
from theano.gof import graph
from theano.gof import utils
from theano.gof import toolbox
......@@ -435,8 +434,8 @@ class FunctionGraph(utils.object2):
if theano.config.compute_test_value != 'off':
try:
tval = gof.op.get_test_value(r)
new_tval = gof.op.get_test_value(new_r)
tval = theano.gof.op.get_test_value(r)
new_tval = theano.gof.op.get_test_value(new_r)
except AttributeError:
pass
else:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论