The function allow register custom operators shared library from path.
This way we'll be able to use onnxruntime extensions even if they not enabled.
That's how Pyhton / C# use the extensions.
And the extensions DLL can be fetched from nuget manually / automatically.
The function allow register custom operators shared library from path.
This way we'll be able to use onnxruntime extensions even if they not enabled. That's how Pyhton / C# use the extensions. And the extensions DLL can be fetched from nuget manually / automatically.
https://github.com/microsoft/onnxruntime/blob/6ae7e02d3485850555233a4819842fbb64a1666a/onnxruntime/python/onnxruntime_pybind_state.cc#L1797
Update: I managed to use onnxruntime extensions operators by download https://www.nuget.org/packages/Microsoft.ML.OnnxRuntime.Extensions Enable
"operator-libraries"
feature and call.with_operator_library("libortextensions.dylib")
in the session creation.Does the operators lib most match onnxruntime version?