#include <onnxruntime_cxx_api.h>
Inherits Ort::Base< OrtRunOptions >.
◆ RunOptions() [1/2]
Ort::RunOptions::RunOptions |
( |
std::nullptr_t |
| ) |
|
|
inlineexplicit |
Create an empty RunOptions object, must be assigned a valid one to be used.
◆ RunOptions() [2/2]
Ort::RunOptions::RunOptions |
( |
| ) |
|
◆ AddConfigEntry()
RunOptions & Ort::RunOptions::AddConfigEntry |
( |
const char * |
config_key, |
|
|
const char * |
config_value |
|
) |
| |
◆ GetRunLogSeverityLevel()
int Ort::RunOptions::GetRunLogSeverityLevel |
( |
| ) |
const |
◆ GetRunLogVerbosityLevel()
int Ort::RunOptions::GetRunLogVerbosityLevel |
( |
| ) |
const |
◆ GetRunTag()
const char * Ort::RunOptions::GetRunTag |
( |
| ) |
const |
◆ SetRunLogSeverityLevel()
RunOptions & Ort::RunOptions::SetRunLogSeverityLevel |
( |
int |
| ) |
|
◆ SetRunLogVerbosityLevel()
RunOptions & Ort::RunOptions::SetRunLogVerbosityLevel |
( |
int |
| ) |
|
◆ SetRunTag()
RunOptions & Ort::RunOptions::SetRunTag |
( |
const char * |
run_tag | ) |
|
◆ SetTerminate()
Terminates all currently executing Session::Run calls that were made using this RunOptions instance.
If a currently executing session needs to be force terminated, this can be called from another thread to force it to fail with an error Wraps OrtApi::RunOptionsSetTerminate
◆ UnsetTerminate()