onnxruntime/onnxruntime/test/util
Adrian Lizarraga d8ddd25272
Add InstanceNormalization operator to QNN EP (#14867)
### Description

QNN EP:
- Adds the
[InstanceNormalization](https://onnx.ai/onnx/operators/onnx__InstanceNormalization.html)
operator to QNN EP.
- Fixes graph composition bug when Transpose node is the last node in a
graph.
- Adds check for input shape when GetCapability is called (before and
after layout transformation)
- Should add similar checks for other layout sensitive ops (conv, pool,
...) in a separate PR
- Adds initial QNN op tests for QDQ conv and QDQ  InstanceNormalization
  - Should add tests for other ops in a separate PR

Optimizer:
- Makes InstanceNormalization a layout sensitive operator.
- Adds a custom QDQ group selector for InstanceNormalization.

Quantization tool:
- Adds QDQ support for InstanceNormalization operator.
- Adds python unit test for InstanceNormalization quantization.

### Motivation and Context
Needed to support stable diffusion models with QNN.

---------

Co-authored-by: Hector Li <hecli@microsoft.com>
2023-03-10 14:42:41 -08:00
..
include Add InstanceNormalization operator to QNN EP (#14867) 2023-03-10 14:42:41 -08:00
compare_ortvalue.cc Deprecate CustomApi and refactor public API for better safety and consistency (#13215) 2022-10-06 14:57:37 -07:00
default_providers.cc Add InstanceNormalization operator to QNN EP (#14867) 2023-03-10 14:42:41 -08:00
file_util.cc
scoped_env_vars.cc Change some const to constexpr in unit tests code(#10002) 2021-12-10 12:26:59 -08:00
temp_dir.cc
test_allocator.cc Fix SDL warnings in CPU EP (#9975) 2021-12-19 20:54:29 -08:00
test_environment.cc
test_random_seed.cc Add full iOS job in package pipeline (#9036) 2021-09-13 15:54:11 -07:00
test_utils.cc Update VerifyOutputs() to use SpanEq() instead of gsl::span comparison operators which may be disabled. (#13911) 2022-12-09 11:31:09 -08:00