提交 167949e4 authored 作者: Frederic Bastien's avatar Frederic Bastien

Fix test that should fail more often!

上级 55d2731b
......@@ -114,7 +114,7 @@ def test_exp():
def test_copy():
print >>sys.stdout, 'starting test_copy'
shape = (5,)
shape = (500,499)
a = theano._asarray(numpy.random.rand(*shape), dtype='float32')
print >>sys.stdout, '.. creating device object'
......@@ -131,7 +131,7 @@ def test_copy():
assert numpy.allclose(a, numpy.asarray(d))
b+=b
assert numpy.allclose(a+a, numpy.asarray(b))
assert numpy.allclose(a+a, numpy.asarray(c))
assert numpy.allclose(a, numpy.asarray(c))
assert numpy.allclose(a, numpy.asarray(d))
def test_nvcc_bug():
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论