a78129c019296798bfc400f82615593127910f69,src/graph_builder/optimizer/optimizer.py,Optimizer,optimize,#Optimizer#Any#,15
Before Change
while flag_retry:
flag_retry = False
for rule in self.rules:
graph, flag_changed = rule(graph)
flag_retry |= flag_changed
if flags.DEBUG:
print(f"[Optimizer] optimize rule={rule} changed={flag_changed}")
util.dump(graph)
After Change
self.rules = []
def optimize(self, graph: Operator) -> Operator:
return self(graph)[0]
def __call__(self, graph: Operator) -> Tuple[Operator, bool]:
flag_retry = True
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: mil-tokyo/webdnn
Commit Name: a78129c019296798bfc400f82615593127910f69
Time: 2017-04-22
Author: y.kikura@gmail.com
File Name: src/graph_builder/optimizer/optimizer.py
Class Name: Optimizer
Method Name: optimize
Project Name: biolab/orange3
Commit Name: 048e800fb0ee920613e03a3b201c57ac140d56ec
Time: 2014-12-05
Author: martin.strazar@gmail.com
File Name: Orange/widgets/classify/owclassificationtreegraph.py
Class Name: OWClassificationTreeGraph
Method Name: updateNodeInfo
Project Name: biolab/orange3
Commit Name: a1c9e902822e0dd6c33ac0a1b633de8737b1bf26
Time: 2016-10-14
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/classify/owclassificationtreegraph.py
Class Name: OWTreeGraph
Method Name: node_tooltip