OnnxRuntime
|
#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 |
Additional Inherited Members | |
Protected Attributes inherited from Ort::detail::Base< T > | |
contained_type * | p_ {} |
using Ort::detail::SessionOptionsImpl< T >::B = ConstSessionOptionsImpl<T> |
using Ort::detail::ConstSessionOptionsImpl< T >::B = Base<T> |
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::Add | ( | OrtCustomOpDomain * | custom_op_domain | ) |
Wraps OrtApi::AddCustomOpDomain.
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::AddConfigEntry | ( | const char * | config_key, |
const char * | config_value | ||
) |
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::AddExternalInitializers | ( | const std::vector< std::string > & | names, |
const std::vector< Value > & | ort_values | ||
) |
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::AddInitializer | ( | const char * | name, |
const OrtValue * | ort_val | ||
) |
Wraps OrtApi::AddInitializer.
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::AppendExecutionProvider | ( | const std::string & | provider_name, |
const std::unordered_map< std::string, std::string > & | provider_options = {} |
||
) |
Wraps OrtApi::SessionOptionsAppendExecutionProvider. Currently supports SNPE and XNNPACK.
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::AppendExecutionProvider_CANN | ( | const OrtCANNProviderOptions & | provider_options | ) |
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::AppendExecutionProvider_CUDA | ( | const OrtCUDAProviderOptions & | provider_options | ) |
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::AppendExecutionProvider_CUDA_V2 | ( | const OrtCUDAProviderOptionsV2 & | provider_options | ) |
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::AppendExecutionProvider_Dnnl | ( | const OrtDnnlProviderOptions & | provider_options | ) |
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::AppendExecutionProvider_MIGraphX | ( | const OrtMIGraphXProviderOptions & | provider_options | ) |
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::AppendExecutionProvider_OpenVINO | ( | const OrtOpenVINOProviderOptions & | provider_options | ) |
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::AppendExecutionProvider_ROCM | ( | const OrtROCMProviderOptions & | provider_options | ) |
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::AppendExecutionProvider_TensorRT | ( | const OrtTensorRTProviderOptions & | provider_options | ) |
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::AppendExecutionProvider_TensorRT_V2 | ( | const OrtTensorRTProviderOptionsV2 & | provider_options | ) |
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::DisableCpuMemArena | ( | ) |
Wraps OrtApi::DisableCpuMemArena.
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::DisableMemPattern | ( | ) |
Wraps OrtApi::DisableMemPattern.
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::DisablePerSessionThreads | ( | ) |
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::DisableProfiling | ( | ) |
Wraps OrtApi::DisableProfiling.
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::EnableCpuMemArena | ( | ) |
Wraps OrtApi::EnableCpuMemArena.
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::EnableMemPattern | ( | ) |
Wraps OrtApi::EnableMemPattern.
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::EnableOrtCustomOps | ( | ) |
Wraps OrtApi::EnableOrtCustomOps.
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::EnableProfiling | ( | const char * | profile_file_prefix | ) |
Wraps OrtApi::EnableProfiling.
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::RegisterCustomOpsLibrary | ( | const char * | library_name, |
const CustomOpConfigs & | custom_op_configs = {} |
||
) |
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::RegisterCustomOpsUsingFunction | ( | const char * | function_name | ) |
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::SetCustomCreateThreadFn | ( | OrtCustomCreateThreadFn | ort_custom_create_thread_fn | ) |
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::SetCustomJoinThreadFn | ( | OrtCustomJoinThreadFn | ort_custom_join_thread_fn | ) |
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.
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::SetCustomThreadCreationOptions | ( | void * | ort_custom_thread_creation_options | ) |
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::SetExecutionMode | ( | ExecutionMode | execution_mode | ) |
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::SetGraphOptimizationLevel | ( | GraphOptimizationLevel | graph_optimization_level | ) |
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::SetInterOpNumThreads | ( | int | inter_op_num_threads | ) |
Wraps OrtApi::SetInterOpNumThreads.
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::SetIntraOpNumThreads | ( | int | intra_op_num_threads | ) |
Wraps OrtApi::SetIntraOpNumThreads.
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::SetLogId | ( | const char * | logid | ) |
Wraps OrtApi::SetSessionLogId.
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::SetLogSeverityLevel | ( | int | level | ) |
SessionOptionsImpl & Ort::detail::SessionOptionsImpl< T >::SetOptimizedModelFilePath | ( | const char * | optimized_model_file | ) |