提交 62d03384 authored 作者: Ziye Fan's avatar Ziye Fan

I can't reproduce the travis failed test in my

computer, add one line in the test case to try to know what happened when it fails
上级 a07899c8
...@@ -2875,6 +2875,7 @@ class Test_local_elemwise_alloc(unittest.TestCase): ...@@ -2875,6 +2875,7 @@ class Test_local_elemwise_alloc(unittest.TestCase):
) )
def _verify_assert_count(self, f, count): def _verify_assert_count(self, f, count):
theano.printing.debugprint(f.maker.fgraph)
assert( assert(
sum([isinstance(elem.op, T.opt.Assert) sum([isinstance(elem.op, T.opt.Assert)
for elem in f.maker.fgraph.toposort() for elem in f.maker.fgraph.toposort()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论