onnxruntime/tools/python/util
Scott McKay 159fe9d4f3
Update to mobile model usability checker (#19843)
### Description
<!-- Describe your changes. -->

- Add check for CoreML MLProgram supported ops
- Only check usability with ORT Mobile package if requested
- this package will be deprecated so info is a) of minimal value and b)
can be confusing.
- Output more things at INFO level
- a lot of meaningful info was only output at DEBUG level. The default
INFO level is more useful
  - dump full partition info at DEBUG level
- Check subgraphs fully
  - CoreML can handle a subgraph
- TBD if we want to add support for adding a subgraph to the parent
graph for Loop and If nodes
    - most likely will be required for simple If nodes to be performant
- Check 5D CoreML limitation

### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
Improve helper tools

---------

Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com>
2024-06-18 07:50:33 +10:00
..
android Update Android SDK tools path lookup to be more strongly anchored to the provided root. (#21046) 2024-06-17 09:24:43 +10:00
mobile_helpers Update to mobile model usability checker (#19843) 2024-06-18 07:50:33 +10:00
ort_format_model Bump ruff to 0.3.2 and black to 24 (#19878) 2024-03-13 10:00:32 -07:00
qdq_helpers
test
__init__.py
__init__append.py
add_openvino_win_libs.py
check_onnx_model_mobile_usability.py Update to mobile model usability checker (#19843) 2024-06-18 07:50:33 +10:00
convert_onnx_models_to_ort.py Bump ruff to 0.3.2 and black to 24 (#19878) 2024-03-13 10:00:32 -07:00
file_utils.py
get_azcopy.py
logger.py
make_dynamic_shape_fixed.py
onnx_model_utils.py
optimize_onnx_model.py
platform_helpers.py
pytorch_export_helpers.py
reduced_build_config_parser.py
run.py
update_onnx_opset.py