提交 d4b03a78 authored 作者: Li's avatar Li 提交者: Frederic

minor fix in scan_util.py

上级 b30ccf76
......@@ -436,7 +436,7 @@ def equal_computations(xs, ys, in_xs=None, in_ys=None):
while idx < n_nodes:
nd_x = nds_x[idx]
nd_y = nds_y[idx]
if not nd_x.op == nd_y.op:
if nd_x.op != nd_y.op:
return False
elif len(nd_x.inputs) != len(nd_y.inputs):
return False
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论