| 
    HDK
    
   | 
 
Wrapper around ::OrtSessionOptions. More...
#include <onnxruntime_cxx_api.h>
 Inheritance diagram for Ort::SessionOptions:Public Member Functions | |
| SessionOptions (std::nullptr_t) | |
| Create an empty SessionOptions object, must be assigned a valid one to be used.  More... | |
| SessionOptions () | |
| Wraps OrtApi::CreateSessionOptions.  More... | |
| SessionOptions (OrtSessionOptions *p) | |
  Public Member Functions inherited from Ort::detail::SessionOptionsImpl< OrtSessionOptions > | |
| SessionOptionsImpl & | SetIntraOpNumThreads (int intra_op_num_threads) | 
| Wraps OrtApi::SetIntraOpNumThreads.  More... | |
| SessionOptionsImpl & | SetInterOpNumThreads (int inter_op_num_threads) | 
| Wraps OrtApi::SetInterOpNumThreads.  More... | |
| SessionOptionsImpl & | SetGraphOptimizationLevel (GraphOptimizationLevel graph_optimization_level) | 
| Wraps OrtApi::SetSessionGraphOptimizationLevel.  More... | |
| SessionOptionsImpl & | SetDeterministicCompute (bool value) | 
| Wraps OrtApi::SetDeterministicCompute.  More... | |
| SessionOptionsImpl & | EnableCpuMemArena () | 
| Wraps OrtApi::EnableCpuMemArena.  More... | |
| SessionOptionsImpl & | DisableCpuMemArena () | 
| Wraps OrtApi::DisableCpuMemArena.  More... | |
| SessionOptionsImpl & | SetOptimizedModelFilePath (const ORTCHAR_T *optimized_model_file) | 
| Wraps OrtApi::SetOptimizedModelFilePath.  More... | |
| SessionOptionsImpl & | EnableProfiling (const ORTCHAR_T *profile_file_prefix) | 
| Wraps OrtApi::EnableProfiling.  More... | |
| SessionOptionsImpl & | DisableProfiling () | 
| Wraps OrtApi::DisableProfiling.  More... | |
| SessionOptionsImpl & | EnableOrtCustomOps () | 
| Wraps OrtApi::EnableOrtCustomOps.  More... | |
| SessionOptionsImpl & | EnableMemPattern () | 
| Wraps OrtApi::EnableMemPattern.  More... | |
| SessionOptionsImpl & | DisableMemPattern () | 
| Wraps OrtApi::DisableMemPattern.  More... | |
| SessionOptionsImpl & | SetExecutionMode (ExecutionMode execution_mode) | 
| Wraps OrtApi::SetSessionExecutionMode.  More... | |
| SessionOptionsImpl & | SetLogId (const char *logid) | 
| Wraps OrtApi::SetSessionLogId.  More... | |
| SessionOptionsImpl & | SetLogSeverityLevel (int level) | 
| Wraps OrtApi::SetSessionLogSeverityLevel.  More... | |
| SessionOptionsImpl & | Add (OrtCustomOpDomain *custom_op_domain) | 
| Wraps OrtApi::AddCustomOpDomain.  More... | |
| SessionOptionsImpl & | DisablePerSessionThreads () | 
| Wraps OrtApi::DisablePerSessionThreads.  More... | |
| SessionOptionsImpl & | AddConfigEntry (const char *config_key, const char *config_value) | 
| Wraps OrtApi::AddSessionConfigEntry.  More... | |
| SessionOptionsImpl & | AddInitializer (const char *name, const OrtValue *ort_val) | 
| Wraps OrtApi::AddInitializer.  More... | |
| SessionOptionsImpl & | AddExternalInitializers (const std::vector< std::string > &names, const std::vector< Value > &ort_values) | 
| Wraps OrtApi::AddExternalInitializers.  More... | |
| SessionOptionsImpl & | AddExternalInitializersFromFilesInMemory (const std::vector< std::basic_string< ORTCHAR_T >> &external_initializer_file_names, const std::vector< char * > &external_initializer_file_buffer_array, const std::vector< size_t > &external_initializer_file_lengths) | 
| Wraps OrtApi::AddExternalInitializersFromFilesInMemory.  More... | |
| SessionOptionsImpl & | AppendExecutionProvider_CUDA (const OrtCUDAProviderOptions &provider_options) | 
| Wraps OrtApi::SessionOptionsAppendExecutionProvider_CUDA.  More... | |
| SessionOptionsImpl & | AppendExecutionProvider_CUDA_V2 (const OrtCUDAProviderOptionsV2 &provider_options) | 
| Wraps OrtApi::SessionOptionsAppendExecutionProvider_CUDA_V2.  More... | |
| SessionOptionsImpl & | AppendExecutionProvider_ROCM (const OrtROCMProviderOptions &provider_options) | 
| Wraps OrtApi::SessionOptionsAppendExecutionProvider_ROCM.  More... | |
| SessionOptionsImpl & | AppendExecutionProvider_OpenVINO (const OrtOpenVINOProviderOptions &provider_options) | 
| Wraps OrtApi::SessionOptionsAppendExecutionProvider_OpenVINO_V2.  More... | |
| SessionOptionsImpl & | AppendExecutionProvider_OpenVINO_V2 (const std::unordered_map< std::string, std::string > &provider_options={}) | 
| SessionOptionsImpl & | AppendExecutionProvider_TensorRT (const OrtTensorRTProviderOptions &provider_options) | 
| Wraps OrtApi::SessionOptionsAppendExecutionProvider_TensorRT.  More... | |
| SessionOptionsImpl & | AppendExecutionProvider_TensorRT_V2 (const OrtTensorRTProviderOptionsV2 &provider_options) | 
| Wraps OrtApi::SessionOptionsAppendExecutionProvider_TensorRT.  More... | |
| SessionOptionsImpl & | AppendExecutionProvider_MIGraphX (const OrtMIGraphXProviderOptions &provider_options) | 
| Wraps OrtApi::SessionOptionsAppendExecutionProvider_CANN.  More... | |
| SessionOptionsImpl & | AppendExecutionProvider_CANN (const OrtCANNProviderOptions &provider_options) | 
| Wraps OrtApi::SessionOptionsAppendExecutionProvider_Dnnl.  More... | |
| SessionOptionsImpl & | AppendExecutionProvider_Dnnl (const OrtDnnlProviderOptions &provider_options) | 
| SessionOptionsImpl & | AppendExecutionProvider (const std::string &provider_name, const std::unordered_map< std::string, std::string > &provider_options={}) | 
| Wraps OrtApi::SessionOptionsAppendExecutionProvider. Currently supports QNN, SNPE and XNNPACK.  More... | |
| SessionOptionsImpl & | SetCustomCreateThreadFn (OrtCustomCreateThreadFn ort_custom_create_thread_fn) | 
| Wraps OrtApi::SessionOptionsSetCustomCreateThreadFn.  More... | |
| SessionOptionsImpl & | SetCustomThreadCreationOptions (void *ort_custom_thread_creation_options) | 
| Wraps OrtApi::SessionOptionsSetCustomThreadCreationOptions.  More... | |
| SessionOptionsImpl & | SetCustomJoinThreadFn (OrtCustomJoinThreadFn ort_custom_join_thread_fn) | 
| Wraps OrtApi::SessionOptionsSetCustomJoinThreadFn.  More... | |
| SessionOptionsImpl & | RegisterCustomOpsLibrary (const ORTCHAR_T *library_name, const CustomOpConfigs &custom_op_configs={}) | 
| SessionOptionsImpl & | RegisterCustomOpsUsingFunction (const char *function_name) | 
| Wraps OrtApi::RegisterCustomOpsUsingFunction.  More... | |
| SessionOptionsImpl & | AppendExecutionProvider_VitisAI (const std::unordered_map< std::string, std::string > &provider_options={}) | 
  Public Member Functions inherited from Ort::detail::ConstSessionOptionsImpl< OrtSessionOptions > | |
| SessionOptions | Clone () const | 
| Creates and returns a copy of this SessionOptions object. Wraps OrtApi::CloneSessionOptions.  More... | |
| std::string | GetConfigEntry (const char *config_key) const | 
| Wraps OrtApi::GetSessionConfigEntry.  More... | |
| bool | HasConfigEntry (const char *config_key) const | 
| Wraps OrtApi::HasSessionConfigEntry.  More... | |
| std::string | GetConfigEntryOrDefault (const char *config_key, const std::string &def) | 
  Public Member Functions inherited from Ort::detail::Base< OrtSessionOptions > | |
| 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::SessionOptionsImpl< OrtSessionOptions > | |
| using | B = ConstSessionOptionsImpl< OrtSessionOptions > | 
| using | B = Base< OrtSessionOptions > | 
  Public Types inherited from Ort::detail::ConstSessionOptionsImpl< OrtSessionOptions > | |
| using | B = Base< OrtSessionOptions > | 
  Public Types inherited from Ort::detail::Base< OrtSessionOptions > | |
| using | contained_type = OrtSessionOptions | 
  Protected Attributes inherited from Ort::detail::Base< OrtSessionOptions > | |
| contained_type * | p_ | 
Wrapper around ::OrtSessionOptions.
Definition at line 954 of file onnxruntime_cxx_api.h.
      
  | 
  inlineexplicit | 
Create an empty SessionOptions object, must be assigned a valid one to be used.
Definition at line 955 of file onnxruntime_cxx_api.h.
      
  | 
  inline | 
Wraps OrtApi::CreateSessionOptions.
Definition at line 1103 of file onnxruntime_cxx_inline.h.
      
  | 
  inlineexplicit | 
Definition at line 957 of file onnxruntime_cxx_api.h.