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

Small Fix

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