Commit 7804b5c
authored
[QNN EP] Reshape Transpose Fusion for 6D tensors (#26338)
### Description
- Added qnn node group for pattern Reshape -> Transpose -> Reshape with
reshape node giving output as rank 6.
- Added support for QDQ pattern and added unit test to verify 6D tensor
offload on NPU with this pattern
### Motivation and Context
- Ensure Reshape Transpose Reshape pattern gets offloaded to the NPU
since QNN Does not have support for 6D tensors.1 parent 510dd14 commit 7804b5c
File tree
4 files changed
+603
-2
lines changed- onnxruntime
- core/providers/qnn/builder/qnn_node_group
- test/providers/qnn/qnn_node_group
4 files changed
+603
-2
lines changedLines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| 86 | + | |
85 | 87 | | |
86 | 88 | | |
87 | 89 | | |
| |||
117 | 119 | | |
118 | 120 | | |
119 | 121 | | |
120 | | - | |
121 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
122 | 126 | | |
123 | 127 | | |
124 | 128 | | |
| |||
0 commit comments