mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-15 20:50:42 +00:00
Update Python API to allow more flexibility for setting providers and provider options. The providers argument (InferenceSession/TrainingSession constructors, InferenceSession.set_providers()) now also accepts a tuple of (name, options dict). Fix get_available_providers() API (and the corresponding function in the C API) to return the providers in default priority order. Now it can be used as a starting point for the providers argument and maintain the default priority order. Convert some usages of the deprecated global configuration functions to use EP-specific options instead. Update some EP-specific option parsing to fail on unknown options. Other clean up. |
||
|---|---|---|
| .. | ||
| Microsoft.AI.MachineLearning.Tests | ||
| Microsoft.AI.MachineLearning.Tests.DotNet5_0 | ||
| Microsoft.ML.OnnxRuntime.EndToEndTests | ||
| Microsoft.ML.OnnxRuntime.EndToEndTests.Capi | ||
| Microsoft.ML.OnnxRuntime.Tests | ||