HDK
|
#include <onnxruntime_cxx_api.h>
Public Member Functions | |
RunOptions (std::nullptr_t) | |
Create an empty RunOptions object, must be assigned a valid one to be used. More... | |
RunOptions () | |
Wraps OrtApi::CreateRunOptions. More... | |
RunOptions & | SetRunLogVerbosityLevel (int) |
Wraps OrtApi::RunOptionsSetRunLogVerbosityLevel. More... | |
int | GetRunLogVerbosityLevel () const |
Wraps OrtApi::RunOptionsGetRunLogVerbosityLevel. More... | |
RunOptions & | SetRunLogSeverityLevel (int) |
Wraps OrtApi::RunOptionsSetRunLogSeverityLevel. More... | |
int | GetRunLogSeverityLevel () const |
Wraps OrtApi::RunOptionsGetRunLogSeverityLevel. More... | |
RunOptions & | SetRunTag (const char *run_tag) |
wraps OrtApi::RunOptionsSetRunTag More... | |
const char * | GetRunTag () const |
Wraps OrtApi::RunOptionsGetRunTag. More... | |
RunOptions & | AddConfigEntry (const char *config_key, const char *config_value) |
Wraps OrtApi::AddRunConfigEntry. More... | |
RunOptions & | SetTerminate () |
Terminates all currently executing Session::Run calls that were made using this RunOptions instance. More... | |
RunOptions & | UnsetTerminate () |
Clears the terminate flag so this RunOptions instance can be used in a new Session::Run call without it instantly terminating. More... | |
Public Member Functions inherited from Ort::detail::Base< OrtRunOptions > | |
constexpr | Base ()=default |
constexpr | Base (contained_type *p) noexcept |
Base (const Base &)=delete | |
Base (Base &&v) noexcept | |
~Base () | |
Base & | operator= (const Base &)=delete |
Base & | operator= (Base &&v) noexcept |
constexpr | operator contained_type * () const noexcept |
contained_type * | release () |
Relinquishes ownership of the contained C object pointer The underlying object is not destroyed. More... | |
Additional Inherited Members | |
Public Types inherited from Ort::detail::Base< OrtRunOptions > | |
using | contained_type = OrtRunOptions |
Protected Attributes inherited from Ort::detail::Base< OrtRunOptions > | |
contained_type * | p_ |
Definition at line 742 of file onnxruntime_cxx_api.h.
|
inlineexplicit |
Create an empty RunOptions object, must be assigned a valid one to be used.
Definition at line 743 of file onnxruntime_cxx_api.h.
|
inline |
Wraps OrtApi::CreateRunOptions.
Definition at line 550 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::AddRunConfigEntry.
Definition at line 587 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::RunOptionsGetRunLogSeverityLevel.
Definition at line 570 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::RunOptionsGetRunLogVerbosityLevel.
Definition at line 564 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::RunOptionsGetRunTag.
Definition at line 581 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::RunOptionsSetRunLogSeverityLevel.
Definition at line 559 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::RunOptionsSetRunLogVerbosityLevel.
Definition at line 554 of file onnxruntime_cxx_inline.h.
|
inline |
wraps OrtApi::RunOptionsSetRunTag
Definition at line 576 of file onnxruntime_cxx_inline.h.
|
inline |
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
Definition at line 592 of file onnxruntime_cxx_inline.h.
|
inline |
Clears the terminate flag so this RunOptions instance can be used in a new Session::Run call without it instantly terminating.
Wraps OrtApi::RunOptionsUnsetTerminate
Definition at line 597 of file onnxruntime_cxx_inline.h.