HDK
|
The helper interface to get the right version of OrtApi. More...
#include <onnxruntime_c_api.h>
Public Member Functions | |
const OrtApi *ORT_API_CALL * | GetApi (uint32_t version) NO_EXCEPTION |
Get a pointer to the requested version of the OrtApi. More... | |
const char *ORT_API_CALL * | GetVersionString (void) NO_EXCEPTION |
Returns a null terminated string of the version of the Onnxruntime library (eg: "1.8.1") More... | |
The helper interface to get the right version of OrtApi.
Get a pointer to this structure through OrtGetApiBase
Definition at line 585 of file onnxruntime_c_api.h.
const OrtApi* ORT_API_CALL* OrtApiBase::GetApi | ( | uint32_t | version | ) |
Get a pointer to the requested version of the OrtApi.
[in] | version | Must be ORT_API_VERSION |
const char* ORT_API_CALL* OrtApiBase::GetVersionString | ( | void | ) |
Returns a null terminated string of the version of the Onnxruntime library (eg: "1.8.1")