提交 fbb29e66 authored 作者: David Warde-Farley's avatar David Warde-Farley

Fix sparse-dense tests.

上级 6f3e360e
...@@ -164,7 +164,7 @@ class SparseInferShapeTester(unittest.TestCase): ...@@ -164,7 +164,7 @@ class SparseInferShapeTester(unittest.TestCase):
[x + y], [x + y],
[sp.csr_matrix(random_lil((10, 40), [sp.csr_matrix(random_lil((10, 40),
config.floatX, 3)), config.floatX, 3)),
numpy.random.randn(10, 10)], numpy.random.randn(10, 40)],
AddSD) AddSD)
def test_mul_ss(self): def test_mul_ss(self):
...@@ -184,7 +184,7 @@ class SparseInferShapeTester(unittest.TestCase): ...@@ -184,7 +184,7 @@ class SparseInferShapeTester(unittest.TestCase):
[x * y], [x * y],
[sp.csr_matrix(random_lil((10, 40), [sp.csr_matrix(random_lil((10, 40),
config.floatX, 3)), config.floatX, 3)),
numpy.random.randn(10, 10)], numpy.random.randn(10, 40)],
MulSD) MulSD)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论