-
Notifications
You must be signed in to change notification settings - Fork 86
Closed
Labels
contribution welcomeWe welcome code contributions for thisWe welcome code contributions for thisgood first issueGood for newcomersGood for newcomerstopic: documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Greetings!
Using rewriter, I expected RewriteRuleSet
is ,namely a set, rules not ordered and applying while any is applicable. But, as I see, order is matters. Setting commute
flag didn't helped. Is this behaviour is supposed?
edit:------------------------
Yes, it is fixed as simple as
while(
pattern.RewriteRuleSet(
[rule_relu, rule_leak, rule_tanh, rule_bnorm ]
).apply_to_model(ir_model)
):
pass
Metadata
Metadata
Assignees
Labels
contribution welcomeWe welcome code contributions for thisWe welcome code contributions for thisgood first issueGood for newcomersGood for newcomerstopic: documentationImprovements or additions to documentationImprovements or additions to documentation