提交 06d6d1ba authored 作者: Frederic Bastien's avatar Frederic Bastien

removed not used import and fix bug in error handling.

上级 6536c03e
...@@ -6,7 +6,6 @@ from type import Type ...@@ -6,7 +6,6 @@ from type import Type
import sys, traceback import sys, traceback
from copy import copy from copy import copy
from theano.gof.python25 import all from theano.gof.python25 import all
import numpy
__excepthook = sys.excepthook __excepthook = sys.excepthook
def thunk_hook(type, value, trace): def thunk_hook(type, value, trace):
...@@ -329,7 +328,7 @@ class LocalLinker(Linker): ...@@ -329,7 +328,7 @@ class LocalLinker(Linker):
# 3. output storage # 3. output storage
# 4. thunks: list of nodes' functions in the order they will be run by the function in (1) # 4. thunks: list of nodes' functions in the order they will be run by the function in (1)
# 5. order: list of nodes, in the order they will be run by the function in (1) # 5. order: list of nodes, in the order they will be run by the function in (1)
raise MethodNotDefined("make_all", type(self), self.__class__.__name__) raise utils.MethodNotDefined("make_all", type(self), self.__class__.__name__)
def gc_helper(node_list): def gc_helper(node_list):
""" """
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论