提交 da4960b8 authored 作者: Ricardo Vieira's avatar Ricardo Vieira 提交者: Ricardo Vieira

Remove unnecessary type ignore in new version of mypy

上级 4fa9bb87
......@@ -118,7 +118,7 @@ def calculate_reallocate_info(
# where gc
for i in range(idx + 1, len(order)):
if reuse_out is not None:
break # type: ignore
break
for out in order[i].outputs:
if (
getattr(out.type, "ndim", None) == 0
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论