OrtApi.SessionGetInputCount

To use additional providers, you must build ORT with the extra providers enabled. Then call one of these functions to enable them in the session: OrtSessionOptionsAppendExecutionProvider_CPU OrtSessionOptionsAppendExecutionProvider_CUDA OrtSessionOptionsAppendExecutionProvider_<remaining providers...> The order they care called indicates the preference order as well. In other words call this method on your most preferred execution provider first followed by the less preferred ones. If none are called Ort will use its internal CPU execution provider.

struct OrtApi
OrtStatus* function(const(OrtSession)* sess, size_t* out_) SessionGetInputCount;

Meta