![]()  | 
  
    ONNX Runtime
    
   | 
 
The helper interface to get the right version of OrtApi. More...
#include <onnxruntime_c_api.h>
Public Attributes | |
| const OrtApi *(* | GetApi )(uint32_t version) | 
| Get a pointer to the requested version of the OrtApi.   | |
| const char *(* | GetVersionString )(void) | 
| Returns a null terminated string of the version of the Onnxruntime library (eg: "1.8.1")   | |
The helper interface to get the right version of OrtApi.
Get a pointer to this structure through OrtGetApiBase
| const OrtApi *( * OrtApiBase::GetApi) (uint32_t version) | 
Get a pointer to the requested version of the OrtApi.
| [in] | version | Must be ORT_API_VERSION | 
One can call GetVersionString() to get the version of the Onnxruntime library for logging and error reporting purposes.
| const char *( * OrtApiBase::GetVersionString) (void) | 
Returns a null terminated string of the version of the Onnxruntime library (eg: "1.8.1")