Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CoreML ML Program Resize #21370

Merged
merged 11 commits into from
Jul 19, 2024
Merged

Conversation

skottmckay
Copy link
Contributor

Description

Add CoreML ML Program Resize

  • refactor existing logic to try and simplify and share between NeuralNetwork and MLProgram checks
  • add handling for some new attributes
    • antialias and axes - should have been done when setting the CoreML EP max opset to 21

Motivation and Context

Support priority models

- refactor existing logic to try and simplify and share between NeuralNetwork and MLProgram checks
- add handling for some new attributes
  - antialias and axes
    - should have been done when setting the CoreML EP max opset to 21
Handle Resize-11 where scales is empty.
Refactor how the the base op builder allows empty input
Remove redudant test.
Use helper in CoreML EP to check if there are dims with value of zero.
Refine check when downsampling with scales
edgchen1
edgchen1 previously approved these changes Jul 19, 2024
@skottmckay skottmckay merged commit 34cd2e8 into main Jul 19, 2024
94 of 98 checks passed
@skottmckay skottmckay deleted the skottmckay/CoreML_MLProgram_Resize_PR branch July 19, 2024 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants