Skip to content

Commit

Permalink
add code examples
Browse files Browse the repository at this point in the history
  • Loading branch information
HectorSVC committed Oct 29, 2024
1 parent bdd9ef3 commit 4919827
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/execution-providers/QNN-ExecutionProvider.md
Original file line number Diff line number Diff line change
Expand Up @@ -511,11 +511,11 @@ QNN EP returns StatusCode::ENGINE_ERROR regarding QNN HTP SSR issue. Uppper leve

## Add new operator support in QNN EP
To enable new operator support in EP, areas to visit:
1. QDQ script support this Op?
2. Onnxruntime QDQ node unit support this Op?
1. QDQ script support this Op? [code example](https://github.com/microsoft/onnxruntime/pull/14867/files#diff-b1ea073c326fef46054382117c256f106d39bd7c34539d44c6e6d9e9eacc059c)
2. Onnxruntime QDQ node unit support this Op? [code example](https://github.com/microsoft/onnxruntime/pull/14867/files#diff-ce0281aaf63e03ecadd592240e41f18742bf8eb095b3725c0e55e589c890946f)
3. Is it layout sensitive operator?
3.1 Registered in LayoutTransformer?
https://github.com/microsoft/onnxruntime/blob/6d464748ba7fed2275ecba3a7406298cabc93438/onnxruntime/core/optimizer/transpose_optimizer/transpose_optimizer.cc#L2168
[code example](https://github.com/microsoft/onnxruntime/blob/6d464748ba7fed2275ecba3a7406298cabc93438/onnxruntime/core/optimizer/transpose_optimizer/transpose_optimizer.cc#L2168)
3.2 NHWC op schema registered?
Example error message:
<lambda_acc29b18d21b7c13448c4952cd957a60>::operator ()] Model face_det_qdq failed to load:Fatal error: com.ms.internal.nhwc:BatchNormalization(9) is not a registered function/op
Expand Down

0 comments on commit 4919827

Please sign in to comment.