HDK
|
#include <onnxruntime_cxx_api.h>
Public Types | |
using | B = ConstSessionOptionsImpl< T > |
using | B = Base< T > |
Public Types inherited from Ort::detail::ConstSessionOptionsImpl< T > | |
using | B = Base< T > |
Public Types inherited from Ort::detail::Base< T > | |
using | contained_type = T |
Public Member Functions | |
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 & | 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... | |
Public Member Functions inherited from Ort::detail::ConstSessionOptionsImpl< T > | |
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< T > | |
constexpr | Base ()=default |
constexpr | Base (contained_type *p) noexcept |
~Base () | |
Base (const Base &)=delete | |
Base & | operator= (const Base &)=delete |
Base (Base &&v) noexcept | |
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 | |
Protected Attributes inherited from Ort::detail::Base< T > | |
contained_type * | p_ {} |
Definition at line 841 of file onnxruntime_cxx_api.h.
using Ort::detail::SessionOptionsImpl< T >::B = ConstSessionOptionsImpl<T> |
Definition at line 842 of file onnxruntime_cxx_api.h.
using Ort::detail::ConstSessionOptionsImpl< T >::B = Base<T> |
Definition at line 830 of file onnxruntime_cxx_api.h.
|
inline |
Wraps OrtApi::AddCustomOpDomain.
Definition at line 732 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::AddSessionConfigEntry.
Definition at line 738 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::AddExternalInitializers.
Definition at line 756 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::AddInitializer.
Definition at line 744 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SessionOptionsAppendExecutionProvider. Currently supports QNN, SNPE and XNNPACK.
Definition at line 823 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SessionOptionsAppendExecutionProvider_Dnnl.
Definition at line 811 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SessionOptionsAppendExecutionProvider_CUDA.
Definition at line 775 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SessionOptionsAppendExecutionProvider_CUDA_V2.
Definition at line 781 of file onnxruntime_cxx_inline.h.
|
inline |
Definition at line 817 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SessionOptionsAppendExecutionProvider_CANN.
Wraps OrtApi::SessionOptionsAppendExecutionProvider_MIGraphX
Definition at line 805 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SessionOptionsAppendExecutionProvider_OpenVINO_V2.
Wraps OrtApi::SessionOptionsAppendExecutionProvider_OpenVINO
Definition at line 863 of file onnxruntime_cxx_inline.h.
|
inline |
Definition at line 869 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SessionOptionsAppendExecutionProvider_ROCM.
Definition at line 787 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SessionOptionsAppendExecutionProvider_TensorRT.
Definition at line 793 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SessionOptionsAppendExecutionProvider_TensorRT.
Definition at line 799 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::DisableCpuMemArena.
Definition at line 708 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::DisableMemPattern.
Definition at line 696 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::DisablePerSessionThreads.
Definition at line 750 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::DisableProfiling.
Definition at line 678 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::EnableCpuMemArena.
Definition at line 702 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::EnableMemPattern.
Definition at line 690 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::EnableOrtCustomOps.
Definition at line 684 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::EnableProfiling.
Definition at line 672 of file onnxruntime_cxx_inline.h.
|
inline |
Definition at line 889 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::RegisterCustomOpsUsingFunction.
Definition at line 902 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SessionOptionsSetCustomCreateThreadFn.
Definition at line 845 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SessionOptionsSetCustomJoinThreadFn.
Registers the custom operator from the specified shared library via OrtApi::RegisterCustomOpsLibrary_V2. The custom operator configurations are optional. If provided, custom operator configs are set via OrtApi::AddSessionConfigEntry.
Definition at line 857 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SessionOptionsSetCustomThreadCreationOptions.
Definition at line 851 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SetDeterministicCompute.
Definition at line 660 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SetSessionExecutionMode.
Definition at line 714 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SetSessionGraphOptimizationLevel.
Definition at line 654 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SetInterOpNumThreads.
Definition at line 648 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SetIntraOpNumThreads.
Definition at line 642 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SetSessionLogId.
Definition at line 720 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SetSessionLogSeverityLevel.
Definition at line 726 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SetOptimizedModelFilePath.
Definition at line 666 of file onnxruntime_cxx_inline.h.