提交 d3c26e9d authored 作者: Reyhane Askari's avatar Reyhane Askari

minor change

上级 294da6a9
......@@ -3047,7 +3047,7 @@ class CheckStrackTraceFeature(object):
if not check_stack_trace(fgraph, 'all'):
raise NotImplementedError(
"Empty stack trace! The optimization that whose"
" stacktrace is empty is %s", reason)
" stacktrace is empty is" + str(reason))
if theano.config.check_stack_trace == 'check_and_skip':
if not check_stack_trace(fgraph, 'all'):
apply_nodes_to_check = fgraph.apply_nodes
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论