onnxruntime
e5302b23 - Fix SkipLayerNormFusion incorrectly setting modified every time it runs (#21502)

Commit
2 years ago
Fix SkipLayerNormFusion incorrectly setting modified every time it runs (#21502) ### Description <!-- Describe your changes. --> Current behavior forces all L2 optimizers to loop until they hit the max number of iterations. Only update modified if the graph was modified. ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. --> Fix unnecessary loops of L2 optimizers during model loading.
Author
Parents
Loading