Skip to content

Conversation

@qti-hungjuiw
Copy link
Contributor

Description

  • Added a core optimizer, MulAddFusion, to the L1 Transformer. This optimization fuses Mul and Add operations into a single BatchNormalization node when they are mathematically equivalent.
  • Included corresponding unit tests to validate the optimization logic.

Motivation and Context

  • By identifying and fusing patterns that are functionally equivalent to BatchNormalization, we streamline the graph and potentially enhance performance.

- Add MulAddFusion to fuse mul and add into batchnormalization
- Add corresponding unit test
- Fix TransposeOptimizerTests.QnnTransposeReshape
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant