提交 2b55564d authored 作者: carriepl's avatar carriepl

Remove useless condition

上级 ee19fe9c
......@@ -448,9 +448,6 @@ class NoOutputFromInplace(Feature):
if not hasattr(fgraph, 'destroyers'):
return True
if self.last_idx is None:
outputs_to_validate = list(fgraph.outputs)[self.first_idx:]
else:
outputs_to_validate = list(fgraph.outputs)[self.first_idx:
self.last_idx]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论