提交 1a72f433 authored 作者: Pierre Luc Carrier's avatar Pierre Luc Carrier

Removed debug prints

上级 f3f04482
...@@ -599,12 +599,8 @@ class PushOutScanOutput(gof.Optimizer): ...@@ -599,12 +599,8 @@ class PushOutScanOutput(gof.Optimizer):
nodelist = [x for x in fgraph.toposort() nodelist = [x for x in fgraph.toposort()
if isinstance(x.op, scan_op.Scan)] if isinstance(x.op, scan_op.Scan)]
for node in nodelist: for node in nodelist:
#self.process_node(fgraph, node)
print "Pick a new node"
# Process the node as long as something gets optimized # Process the node as long as something gets optimized
while node != None: while node != None:
print "Process the node"
node = self.process_node(fgraph, node) node = self.process_node(fgraph, node)
def process_node(self, fgraph, node): def process_node(self, fgraph, node):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论