提交 5fe4622a authored 作者: James Bergstra's avatar James Bergstra

fixed little bug in DebugMode: it was failing to catch an exception when trying to produce C thunks

上级 f9135eed
...@@ -401,7 +401,7 @@ class _Linker(gof.link.LocalLinker): ...@@ -401,7 +401,7 @@ class _Linker(gof.link.LocalLinker):
thunk.inputs = node_input_storage thunk.inputs = node_input_storage
thunk.outputs = node_output_storage thunk.outputs = node_output_storage
thunks_c.append(thunk) thunks_c.append(thunk)
except utils.AbstractFunctionError: except (NotImplementedError, utils.AbstractFunctionError):
thunks_c.append(None) thunks_c.append(None)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论