提交 19271ea9 authored 作者: Frederic Bastien's avatar Frederic Bastien

make test faster

上级 98552929
......@@ -2773,8 +2773,8 @@ def test_mod_compile():
f = theano.function([x,y],out)
def test_unalign():
a = numpy.empty(1e6, dtype="b1,f8")['f1']
b = numpy.empty(1e6, dtype="b1,f8")['f1']
a = numpy.empty(1e4, dtype="b1,f8")['f1']
b = numpy.empty(1e4, dtype="b1,f8")['f1']
assert not a.flags.aligned
assert not b.flags.aligned
a[:] = numpy.random.rand(len(a))
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论