提交 43cbd058 authored 作者: nouiz's avatar nouiz

Merge pull request #488 from delallea/tmp

Fixed a test on 32-bit platforms
...@@ -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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论