提交 13d85861 authored 作者: Ian Goodfellow's avatar Ian Goodfellow

removed unnecessary + slow call to keys()

上级 bca401d7
......@@ -173,7 +173,7 @@ def _contains_cycle(fgraph, orderings):
fifo_queue.append(client)
return visit_count != len(node_to_parents.keys())
return visit_count != len(node_to_parents)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论