![]() |
ONNX Runtime
|
The TensorRTOptions (V2) More...
#include <onnxruntime_cxx_api.h>
Public Member Functions | |
TensorRTProviderOptions (std::nullptr_t) | |
TensorRTProviderOptions () | |
Wraps OrtApi::CreateTensorRTProviderOptionsV2. | |
void | Update (const std::unordered_map< std::string, std::string > &options) |
Wrapper around OrtApi::UpdateTensorRTProviderOptions. | |
void | UpdateWithValue (const char *key, void *value) |
Wrapper around OrtApi::GetTensorRTProviderOptionsByName. | |
void * | GetOptionByName (const char *name) const |
Wrapper around OrtApi::GetTensorRTProviderOptionsAsString. | |
std::string | GetTensorRTProviderOptionsAsString () const |
![]() | |
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 |
constexpr contained_type & | operator* () const noexcept |
contained_type * | release () |
Relinquishes ownership of the contained C object pointer The underlying object is not destroyed. | |
Additional Inherited Members | |
![]() | |
using | contained_type = OrtTensorRTProviderOptionsV2 |
![]() | |
contained_type * | p_ |
The TensorRTOptions (V2)
Used to pass options to TRT EP
|
inline |
Ort::TensorRTProviderOptions::TensorRTProviderOptions | ( | ) |
Wraps OrtApi::CreateTensorRTProviderOptionsV2.
Wrapper around OrtApi::UpdateTensorRTProviderOptions
void * Ort::TensorRTProviderOptions::GetOptionByName | ( | const char * | name | ) | const |
Wrapper around OrtApi::GetTensorRTProviderOptionsAsString.
std::string Ort::TensorRTProviderOptions::GetTensorRTProviderOptionsAsString | ( | ) | const |
void Ort::TensorRTProviderOptions::Update | ( | const std::unordered_map< std::string, std::string > & | options | ) |
Wrapper around OrtApi::UpdateTensorRTProviderOptions.
void Ort::TensorRTProviderOptions::UpdateWithValue | ( | const char * | key, |
void * | value | ||
) |
Wrapper around OrtApi::GetTensorRTProviderOptionsByName.