[QNN-EP] Add inverse Op to QNN EP - #26068
Merged
HectorSVC merged 2 commits intoSep 18, 2025
Merged
Conversation
Signed-off-by: Mu-Chein Hsu <quic_muchhsu@quicinc.com>
Contributor
|
/azp run Linux QNN CI Pipeline,Win_TRT_Minimal_CUDA_Test_CI,Windows ARM64 QNN CI Pipeline,Windows GPU Doc Gen CI Pipeline |
|
Azure Pipelines successfully started running 4 pipeline(s). |
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds support for the Inverse operator from the Microsoft domain to the QNN execution provider. The implementation decomposes matrix inversion into lower-level operations that are supported by the QNN backend.
- Adds QNN EP support for the Inverse operator through decomposition into basic mathematical operations
- Implements comprehensive test coverage for both CPU and HTP backends with various tensor dimensions
- Includes quantized (QDQ) testing for the HTP backend with appropriate tolerance adjustments
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| inverse_op_test.cc | Comprehensive test suite covering 2D, 3D, and 4D tensor inversions for both CPU and HTP backends |
| inverse_op_builder.cc | Core implementation that decomposes matrix inverse into reshape, slice, multiply, subtract, concat, and divide operations |
| op_builder_factory.h | Header declaration for the Inverse op builder factory function |
| op_builder_factory.cc | Registration of the Inverse operator in the QNN EP factory |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Contributor
|
/azp run Linux QNN CI Pipeline,Win_TRT_Minimal_CUDA_Test_CI,Windows ARM64 QNN CI Pipeline,Windows GPU Doc Gen CI Pipeline |
|
Azure Pipelines successfully started running 4 pipeline(s). |
HectorSVC
approved these changes
Sep 18, 2025
naomiOvad
pushed a commit
to naomiOvad/onnxruntime
that referenced
this pull request
Nov 2, 2025
### Description Add Inverse Op from com.microsoft domain to QNN EP. ### Motivation and Context Add Inverse Op from com.microsoft domain to QNN EP. --------- Signed-off-by: Mu-Chein Hsu <quic_muchhsu@quicinc.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add Inverse Op from com.microsoft domain to QNN EP.
Motivation and Context
Add Inverse Op from com.microsoft domain to QNN EP.