mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-18 21:21:17 +00:00
Register Resize op into nhwc schema for Qnn EP (#15373)
### Description Register Resize op into nhwc schema for Qnn EP. ### Motivation and Context Resize op is identified as layout sensitive op for Qnn EP, need to register it into nhwc schema
This commit is contained in:
parent
4db10c93d1
commit
a0d8dbe28d
1 changed files with 5 additions and 0 deletions
|
|
@ -115,6 +115,11 @@ void OpSet_Internal_NHWC_ONNX::ForEachSchema(const std::function<void(ONNX_NAMES
|
|||
REGISTER_NHWC_SCHEMA(fn, SpaceToDepth, 1);
|
||||
REGISTER_NHWC_SCHEMA(fn, SpaceToDepth, 13);
|
||||
|
||||
#if defined(USE_QNN)
|
||||
REGISTER_NHWC_SCHEMA(fn, Resize, 11);
|
||||
REGISTER_NHWC_SCHEMA(fn, Resize, 13);
|
||||
#endif
|
||||
|
||||
// internal QLinear ops
|
||||
REGISTER_NHWC_SCHEMA_FROM_MSDOMAIN(fn, QLinearAveragePool, 1);
|
||||
REGISTER_NHWC_SCHEMA_FROM_MSDOMAIN(fn, QLinearConvTranspose, 1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue