提交 4ddc246d authored 作者: Frederic Bastien's avatar Frederic Bastien

make a test faster in debug mode

上级 b4817c25
...@@ -84,7 +84,7 @@ class TestDownsampleFactorMax(unittest.TestCase): ...@@ -84,7 +84,7 @@ class TestDownsampleFactorMax(unittest.TestCase):
rng = numpy.random.RandomState(utt.fetch_seed()) rng = numpy.random.RandomState(utt.fetch_seed())
maxpoolshps = ((1,1),(3,2)) maxpoolshps = ((1,1),(3,2))
imval = rng.rand(4,7) imval = rng.rand(4,5)
images = tensor.dmatrix() images = tensor.dmatrix()
for maxpoolshp in maxpoolshps: for maxpoolshp in maxpoolshps:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论