![]() |
ONNX Runtime
|
Configuration options for creating an OrtEnv. More...
#include <onnxruntime_c_api.h>
Public Attributes | |
| uint32_t | version |
| Must be set to ORT_API_VERSION. | |
| int32_t | logging_severity_level |
| The logging severity level for the environment. Must be set to a value from OrtLoggingLevel. | |
| const char * | log_id |
| The log identifier. Must be set to a valid UTF-8 null-terminated string. | |
| OrtLoggingFunction | custom_logging_function |
| Optional custom logging function. May be set to NULL. | |
| void * | custom_logging_param |
| Optional state to pass as the first argument to OrtEnvCreationOptions::custom_logger_function. May be set to NULL. | |
| const OrtThreadingOptions * | threading_options |
| Optional threading options for creating an environment with global thread pools shared across sessions. May be set to NULL. | |
| const OrtKeyValuePairs * | config_entries |
| Optional environment configuration entries represented as string key-value pairs. May be set to NULL. | |
Configuration options for creating an OrtEnv.
| const OrtKeyValuePairs* OrtEnvCreationOptions::config_entries |
Optional environment configuration entries represented as string key-value pairs. May be set to NULL.
| OrtLoggingFunction OrtEnvCreationOptions::custom_logging_function |
Optional custom logging function. May be set to NULL.
| void* OrtEnvCreationOptions::custom_logging_param |
Optional state to pass as the first argument to OrtEnvCreationOptions::custom_logger_function. May be set to NULL.
| const char* OrtEnvCreationOptions::log_id |
The log identifier. Must be set to a valid UTF-8 null-terminated string.
| int32_t OrtEnvCreationOptions::logging_severity_level |
The logging severity level for the environment. Must be set to a value from OrtLoggingLevel.
logging_severity_level are not emitted.| const OrtThreadingOptions* OrtEnvCreationOptions::threading_options |
Optional threading options for creating an environment with global thread pools shared across sessions. May be set to NULL.
| uint32_t OrtEnvCreationOptions::version |
Must be set to ORT_API_VERSION.