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 ability to set CoreML EP flags from python #21434

Closed

Commits on Jul 21, 2024

  1. Example usage

    ```py
    provider_options = [{'flags': 'COREML_FLAG_ONLY_ALLOW_STATIC_INPUT_SHAPES|COREML_FLAG_CREATE_MLPROGRAM'}, {}]
    
    s = ort.InferenceSession('model.onnx', so, providers=['CoreMLExecutionProvider', 'CPUExecutionProvider'],
                             provider_options=provider_options)
    ```py
    skottmckay committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    0d5b2f2 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

  1. Lint.

    skottmckay committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    06d6587 View commit details
    Browse the repository at this point in the history