提交 8e7a76a2 authored 作者: Frederic's avatar Frederic

Don't catch the error that hided the NBComposite error from being seen

上级 76ae1047
......@@ -357,7 +357,7 @@ def inplace_elemwise_optimizer_op(OP):
fgraph.validate()
chk = fgraph.checkpoint()
nb_change_no_validate = 0
except (ValueError, TypeError, InconsistencyError) as e:
except (ValueError, InconsistencyError) as e:
if check_each_change != 1 and not raised_warning:
print(("Some inplace optimization was not "
"performed due to unexpected error:"),
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论