forked from microsoft/onnxruntime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[QNN EP] Add better unit tests for rank 5 ReduceSum (microsoft#17802)
### Description We previously had a unit test that checked that QNN EP rejected rank 5 reduce ops. This PR: - Allows the underlying QNN APIs to validate the input rank for Reduce ops. - Modifies a rank 5 ReduceSum unit test so that it can be used to reproduce a graph finalization error on QNN SDK 2.15.1. - Adds a new rank 5 ReduceSum unit test with a configuration that is known to work in QNN SDK 2.15.1. ### Motivation and Context Allows us to more easily test/verify rank 5 support for ReduceSum.
- Loading branch information
1 parent
5be79e2
commit 7417fd4
Showing
2 changed files
with
34 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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