提交 96cb8c13 authored 作者: ChienliMa's avatar ChienliMa

pep 8 fix

上级 8eb39b72
...@@ -667,13 +667,13 @@ class Function(object): ...@@ -667,13 +667,13 @@ class Function(object):
input_storage = [i.value for i in ins] input_storage = [i.value for i in ins]
# reinitialize new maker and create new function # reinitialize new maker and create new function
f_cpy = maker.__class__(inputs=ins, outputs=outs, f_cpy = maker.__class__(inputs=ins, outputs=outs, fgraph=fg_cpy,
fgraph=fg_cpy,
mode=maker.mode, profile=maker.profile, mode=maker.mode, profile=maker.profile,
on_unused_input=maker.on_unused_input, on_unused_input=maker.on_unused_input,
function_builder=maker.function_builder, function_builder=maker.function_builder,
accept_inplace=maker.accept_inplace).create( accept_inplace=maker.accept_inplace
input_storage, storage_map=new_storage_map) ).create(input_storage,
storage_map=new_storage_map)
for in_ori, in_cpy, ori, cpy in zip(maker.inputs, f_cpy.maker.inputs, for in_ori, in_cpy, ori, cpy in zip(maker.inputs, f_cpy.maker.inputs,
self.input_storage, self.input_storage,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论