提交 83a2f547 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Fixed a test on 32-bit platforms

Also uses less memory for everyone.
上级 80bf4057
...@@ -784,8 +784,8 @@ class test_structureddot(unittest.TestCase): ...@@ -784,8 +784,8 @@ class test_structureddot(unittest.TestCase):
class DotTests(unittest.TestCase): class DotTests(unittest.TestCase):
def setUp(self): def setUp(self):
x_size = (10, 1000) x_size = (10, 100)
y_size = (1000, 10000) y_size = (100, 1000)
self.x_csr = scipy.sparse.csr_matrix( self.x_csr = scipy.sparse.csr_matrix(
numpy.random.binomial(1, 0.5, x_size), dtype=theano.config.floatX) numpy.random.binomial(1, 0.5, x_size), dtype=theano.config.floatX)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论