提交 cc0670e6 authored 作者: ChienliMa's avatar ChienliMa

pep 8 style fix

上级 09be448a
...@@ -624,7 +624,7 @@ class Function(object): ...@@ -624,7 +624,7 @@ class Function(object):
# Check if given ShareVariables exist # Check if given ShareVariables exist
for sv in iterkeys(swap): for sv in iterkeys(swap):
if not sv in exist_svs: if sv not in exist_svs:
raise ValueError("SharedVariable: %s not found" % raise ValueError("SharedVariable: %s not found" %
(sv.name)) (sv.name))
......
...@@ -276,7 +276,7 @@ class FunctionGraph(utils.object2): ...@@ -276,7 +276,7 @@ class FunctionGraph(utils.object2):
return True return True
return False return False
### import ### # import #
def __import_r__(self, variable, reason): def __import_r__(self, variable, reason):
""" """
Import variables to this FunctionGraph and also their apply_node, Import variables to this FunctionGraph and also their apply_node,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论