提交 be82364a authored 作者: Lijun Xue's avatar Lijun Xue

Fix Syntax

上级 80388997
...@@ -967,7 +967,7 @@ class VM_Linker(link.LocalLinker): ...@@ -967,7 +967,7 @@ class VM_Linker(link.LocalLinker):
assert not (ins in view_of and viewed_by[ins]) assert not (ins in view_of and viewed_by[ins])
if (getattr(ins, 'ndim', None) == 0 and not storage_map[ins][0] if (getattr(ins, 'ndim', None) == 0 and not storage_map[ins][0]
and ins not in fgraph.outputs and ins.owner and ins not in fgraph.outputs and ins.owner
and all([compute_map_re[v][0] for v in dependencies.get(ins, []])])): and all([compute_map_re[v][0] for v in dependencies.get(ins, [])])):
# Constant Memory cannot be changed, Constant storage_map # Constant Memory cannot be changed, Constant storage_map
# has a value here # has a value here
reuse_out = None reuse_out = None
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论