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

added missing import and make test a little faster.

上级 8f094db5
...@@ -11,6 +11,7 @@ if cuda_available: ...@@ -11,6 +11,7 @@ if cuda_available:
import unittest import unittest
from theano.tests import unittest_tools as utt from theano.tests import unittest_tools as utt
from nose.plugins.skip import SkipTest
#TODO: test gpu #TODO: test gpu
# Done in test_consistency_GPU_{serial,parallel} # Done in test_consistency_GPU_{serial,parallel}
...@@ -380,7 +381,7 @@ def test_binomial(): ...@@ -380,7 +381,7 @@ def test_binomial():
if mode in ['DEBUG_MODE','FAST_COMPILE']: if mode in ['DEBUG_MODE','FAST_COMPILE']:
sample_size = (10,50) sample_size = (10,50)
steps = 70 steps = 50
else: else:
sample_size = (500,50) sample_size = (500,50)
steps = int(1e3) steps = int(1e3)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论