提交 0c0dadac authored 作者: --global's avatar --global

Fix typo

上级 2d09814e
...@@ -616,7 +616,7 @@ class PushOutScanOutput(gof.Optimizer): ...@@ -616,7 +616,7 @@ class PushOutScanOutput(gof.Optimizer):
# impossible to know for how many steps it will run. # impossible to know for how many steps it will run.
nodelist = [x for x in fgraph.toposort() nodelist = [x for x in fgraph.toposort()
if (isinstance(x.op, scan_op.Scan) and if (isinstance(x.op, scan_op.Scan) and
not x.op.as_while] not x.op.as_while)]
for node in nodelist: for node in nodelist:
# Process the node as long as something gets optimized # Process the node as long as something gets optimized
while node != None: while node != None:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论