提交 32885e90 authored 作者: Chinnadhurai Sankar's avatar Chinnadhurai Sankar

fix indentation

上级 7443cc89
...@@ -702,14 +702,14 @@ def inputs(variable_list, blockers=None): ...@@ -702,14 +702,14 @@ def inputs(variable_list, blockers=None):
def variables_and_orphans(i, o): def variables_and_orphans(i, o):
""" """
Extracts list of variables within input and Extracts list of variables within input and
output nodes ( via dfs travesal) and chooses the orphans among them output nodes via dfs travesal and chooses the orphans among them
Parameters Parameters
----------- -----------
i : list i : list
Input L{Variable}s. Input variables.
o : list o : list
Output L{Variable}s. Output variables.
""" """
def expand(r): def expand(r):
...@@ -724,21 +724,21 @@ def variables_and_orphans(i, o): ...@@ -724,21 +724,21 @@ def variables_and_orphans(i, o):
def ops(i, o): def ops(i, o):
""" """
WRITEME Set of Ops contained within the subgraph between i and o
Parameters Parameters
---------- ----------
i : list i : list
Input L{Variable}s. Input variables.
o : list o : list
Output L{Variable}s. Output variables.
Returns Returns
------- -------
object object
The set of ops that are contained within the subgraph that lies The set of ops that are contained within the subgraph that lies
between i and o, including the owners of the L{Variable}s in o and between i and o, including the owners of the variables in o and
intermediary ops between i and o, but not the owners of the L{Variable}s intermediary ops between i and o, but not the owners of the variables
in i. in i.
""" """
...@@ -753,7 +753,7 @@ def ops(i, o): ...@@ -753,7 +753,7 @@ def ops(i, o):
def variables(i, o): def variables(i, o):
""" """
Extracts list of variables within input and output nodes ( via dfs t ravesal) Extracts list of variables within input and output nodes via dfs travesal
Parameters Parameters
---------- ----------
...@@ -775,7 +775,8 @@ def variables(i, o): ...@@ -775,7 +775,8 @@ def variables(i, o):
def orphans(i, o): def orphans(i, o):
""" """
Extracts list of variables within input and output nodes ( via dfs t ravesal) and returns the "orphans" among them Extracts list of variables within input and output nodes
via dfs travesal and returns the orphans among them
Parameters Parameters
---------- ----------
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论