Skip to content

[QNN EP] Add remove_initializer_from_input in qnn.preprocess #25102

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

quic-hungjuiw
Copy link
Contributor

Description

  • Add argument "--exclude_initializer_from_input" to remove initializer from input if model.ir_version >= 4
  • Add function argument on remove_initializer_from_input
  • Modify the onnxruntime_python.cmake to include remove_initializer_from_input.py

Motivation and Context

  • To solve the issue Initializer <name> appears in graph inputs and will not be treated as constant value/weight., we require the remove_initializer_from_input to be included in qnn.preprocess

- Add argument "--exclude_initializer_from_input" to remove initializer
  from input if model.ir_version >= 4
- Add function argument on remove_initializer_from_input
- Modify the onnxruntime_python.cmake to include
  remove_initializer_from_input.py
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