提交 9e4514e2 authored 作者: Reyhane Askari's avatar Reyhane Askari

minor fix

上级 c26cf061
......@@ -479,11 +479,11 @@ class DestroyHandler(toolbox.Bookkeeper): # noqa
if len(v) > 0:
self.fail_validate[app] = theano.gof.InconsistencyError(
"Destroyed variable has view_map. " + str(reason))
elif d:
d = d.get(inp_idx2, [])
if len(d) > 0:
self.fail_validate[app] = theano.gof.InconsistencyError(
"Destroyed variable has destroy_map. " + str(reason))
elif d:
d = d.get(inp_idx2, [])
if len(d) > 0:
self.fail_validate[app] = theano.gof.InconsistencyError(
"Destroyed variable has destroy_map. " + str(reason))
# These 2 assertions are commented since this function is called so many times
# but they should be true.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论