提交 989b631a authored 作者: James Bergstra's avatar James Bergstra

sparse - disabled a test that makes no sense since disabling the…

sparse - disabled a test that makes no sense since disabling the structured_dot_csc optimization a few days ago
上级 c6369ea7
...@@ -252,6 +252,15 @@ class test_structureddot(unittest.TestCase): ...@@ -252,6 +252,15 @@ class test_structureddot(unittest.TestCase):
def test_opt_unpack(self): def test_opt_unpack(self):
#
# Test that a graph involving structured_dot(assembled_csc_matrix) is optimized to be
# just a structured_dot_csc Op and no assembly of a csc_matrix.
#
# The optimization from structured_dot -> structured_dot_csc is currently disabled,
# So this test is not expected to pass
return
#
kerns = tensor.Tensor(dtype='int64', broadcastable=[False])('kerns') kerns = tensor.Tensor(dtype='int64', broadcastable=[False])('kerns')
spmat = sp.lil_matrix((4,6), dtype='int64') spmat = sp.lil_matrix((4,6), dtype='int64')
for i in range(5): for i in range(5):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论