提交 e8689fcd authored 作者: Frederic's avatar Frederic 提交者: ChienliMa

Just use better name

上级 8464ed71
......@@ -589,8 +589,8 @@ class Function(object):
# Copy Ins and their storage.
# so that they have different storage as their value
ins = [copy.copy(input) for input in maker.inputs]
for in_ori, in_cpy in zip(ins, maker.inputs):
in_ori.value = copy.deepcopy(in_cpy.value)
for in_cpy, in_ori in zip(ins, maker.inputs):
in_cpy.value = copy.deepcopy(in_ori.value)
# Delete update output in fgraph and updates In instances if needed
if delete_updates:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论