提交 567afb4f authored 作者: Frederic Bastien's avatar Frederic Bastien

Fix the test in float32 by skipping check in that case.

上级 bdc5252e
......@@ -1762,7 +1762,7 @@ for{cpu,scan_fn}.2 [id H] ''
>Elemwise{Composite{(i0 + ((i1 + (i2 * i3)) * i4) + i5)}} [id DW] ''
>CGemv{no_inplace} [id DX] ''
""" % {"float":theano.config.floatX}
if theano.config.mode != 'FAST_COMPILE':
if theano.config.mode != 'FAST_COMPILE' and theano.config.floatX == 'float64':
for truth, out in zip(expected_output.split("\n"), lines):
assert truth.strip() == out.strip(), (truth, out)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论