提交 74e22c3b authored 作者: Reyhane Askari's avatar Reyhane Askari

reverted some changes to be tested later

上级 455e92c7
......@@ -652,8 +652,6 @@ class MergeFeature(object):
continue
if len(node.inputs) != len(candidate.inputs):
continue
if node.op != candidate.op:
continue
cand_has_assert = False
......@@ -690,7 +688,7 @@ class MergeFeature(object):
in zip(node_inputs_assert_removed,
cand_inputs_assert_removed))
if inputs_match:
if inputs_match and node.op == candidate.op:
if (node, candidate) in self.blacklist:
# They were already tried, and there was an error
continue
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论