提交 f7cea417 authored 作者: Frederic Bastien's avatar Frederic Bastien

Lower test as we are more strict and now it would make it fail.

上级 ee4cea6a
...@@ -482,7 +482,7 @@ def test_many_arg_elemwise(): ...@@ -482,7 +482,7 @@ def test_many_arg_elemwise():
i.e., it is a test of the optimization theano/sandbox/cuda/opt.py:local_gpu_huge_add_or_mul """ i.e., it is a test of the optimization theano/sandbox/cuda/opt.py:local_gpu_huge_add_or_mul """
rng = np.random.RandomState([1, 2, 3]) rng = np.random.RandomState([1, 2, 3])
for num_args in [55]: for num_args in [25]:
for op_to_test in [theano.tensor.add, theano.tensor.mul]: for op_to_test in [theano.tensor.add, theano.tensor.mul]:
for nb_dim in [2, 3, 4, 5]: for nb_dim in [2, 3, 4, 5]:
shapes = [rng.randint(1, 5) for i in range(nb_dim)] shapes = [rng.randint(1, 5) for i in range(nb_dim)]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论