提交 671db668 authored 作者: Frederic Bastien's avatar Frederic Bastien

Remove duplicate tests. No need to retest them all in 2d and 4d. Fusion don't…

Remove duplicate tests. No need to retest them all in 2d and 4d. Fusion don't depend too much about ndim
上级 2051b9a0
...@@ -1178,7 +1178,7 @@ class test_fusion(unittest.TestCase): ...@@ -1178,7 +1178,7 @@ class test_fusion(unittest.TestCase):
mode._optimizer = mode._optimizer.including( mode._optimizer = mode._optimizer.including(
'local_elemwise_fusion', 'composite_elemwise_fusion', 'local_elemwise_fusion', 'composite_elemwise_fusion',
'canonicalize') 'canonicalize')
self.do(mode, self._shared, shp) self.do(mode, self._shared, shp, slice=slice(0, 1))
def test_fusion_35inputs(self): def test_fusion_35inputs(self):
# Make sure a fused graph with more than 35 inputs does not segfault # Make sure a fused graph with more than 35 inputs does not segfault
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论