提交 2d3bd2f8 authored 作者: ChienliMa's avatar ChienliMa

pep 8 fix

上级 47ff978d
...@@ -137,8 +137,8 @@ class Supervisor: ...@@ -137,8 +137,8 @@ class Supervisor:
return True return True
for r in self.protected + list(fgraph.outputs): for r in self.protected + list(fgraph.outputs):
if fgraph.destroyers(r): if fgraph.destroyers(r):
raise gof.InconsistencyError( raise gof.InconsistencyError("Trying to destroy a protected"
"Trying to destroy a protected Variable.", r) "Variable.", r)
def std_fgraph(input_specs, output_specs, accept_inplace=False): def std_fgraph(input_specs, output_specs, accept_inplace=False):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论