提交 479614ec authored 作者: Matthew Rocklin's avatar Matthew Rocklin

add alignment space

上级 2a2aca77
...@@ -1033,7 +1033,7 @@ def memodict(f): ...@@ -1033,7 +1033,7 @@ def memodict(f):
def depends((a, b)): def depends((a, b)):
return (not set(a.inputs).isdisjoint(set(b.outputs)) return (not set(a.inputs).isdisjoint(set(b.outputs))
or any(depends((ainp.owner, b)) for ainp in a.inputs or any(depends((ainp.owner, b)) for ainp in a.inputs
if ainp.owner)) if ainp.owner))
def dependence(a, b): def dependence(a, b):
""" A cmp function for nodes in a graph - does a depend on b? """ A cmp function for nodes in a graph - does a depend on b?
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论