提交 5f23bd60 authored 作者: Ian Goodfellow's avatar Ian Goodfellow

fixed import problem

上级 ef2a9f22
......@@ -5,7 +5,7 @@ from copy import copy
import graph
import utils
import toolbox
#from theano import config
from theano import config
class InconsistencyError(Exception):
......@@ -233,7 +233,6 @@ class Env(utils.object2):
if hasattr(r, 'env') and r.env is not self:
raise Exception("%s is already owned by another env" % r)
if r.owner is None and not isinstance(r, graph.Value) and r not in self.inputs:
from theano import config
#Verbose error message
#Show a complete chain of variables from the missing input to an output
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论