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:
Hector Li 2023-04-05 08:41:16 -07:00 committed by GitHub
parent 4db10c93d1
commit a0d8dbe28d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);