提交 eac967e0 authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Disable an optimization in test, so the "second" op is not optimized away.

上级 48a9e5b3
......@@ -949,6 +949,8 @@ SecondBroadcastTester = makeTester(
)
)
# We exclude local_fill_to_alloc because it optimizes the "second" node
# away from the graph.
SecondSameRankTester = makeTester(
name='SecondSameRankTester',
op=second,
......@@ -963,7 +965,8 @@ SecondSameRankTester = makeTester(
bad_runtime=dict(itertools.chain(
multi_dtype_checks((4, 5), (5, 4)),
multi_dtype_checks((1, 5), (5, 4)),
))
)),
mode=get_default_mode().excluding('local_fill_to_alloc')
)
def test_eye():
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论