![]() |
ONNX Runtime
|
#include <onnxruntime_cxx_api.h>
Public Types | |
| using | B = Base< T > |
Public Types inherited from Ort::detail::Base< T > | |
| using | contained_type = T |
Public Member Functions | |
| size_t | GetInputCount () const |
| Returns the number of model inputs. | |
| size_t | GetOutputCount () const |
| Returns the number of model outputs. | |
| size_t | GetOverridableInitializerCount () const |
| Returns the number of inputs that have defaults that can be overridden. | |
| std::vector< std::string > | GetInputNames () const |
| std::vector< std::string > | GetOutputNames () const |
| std::vector< std::string > | GetOverridableInitializerNames () const |
| std::vector< ConstMemoryInfo > | GetMemoryInfoForInputs () const |
| Wrapper for OrtApi::SessionGetMemoryInfoForInputs. | |
| std::vector< ConstMemoryInfo > | GetMemoryInfoForOutputs () const |
| Wrapper for OrtApi::SessionGetMemoryInfoForOutputs. | |
| std::vector< ConstEpDevice > | GetEpDeviceForInputs () const |
| Wrapper for OrtApi::SessionGetEpDeviceForInputs. | |
| AllocatedStringPtr | GetInputNameAllocated (size_t index, OrtAllocator *allocator) const |
| Returns a copy of input name at the specified index. | |
| AllocatedStringPtr | GetOutputNameAllocated (size_t index, OrtAllocator *allocator) const |
| Returns a copy of output name at then specified index. | |
| AllocatedStringPtr | GetOverridableInitializerNameAllocated (size_t index, OrtAllocator *allocator) const |
| Returns a copy of the overridable initializer name at then specified index. | |
| uint64_t | GetProfilingStartTimeNs () const |
| Wraps OrtApi::SessionGetProfilingStartTimeNs. | |
| ModelMetadata | GetModelMetadata () const |
| Wraps OrtApi::SessionGetModelMetadata. | |
| TypeInfo | GetInputTypeInfo (size_t index) const |
| Wraps OrtApi::SessionGetInputTypeInfo. | |
| TypeInfo | GetOutputTypeInfo (size_t index) const |
| Wraps OrtApi::SessionGetOutputTypeInfo. | |
| TypeInfo | GetOverridableInitializerTypeInfo (size_t index) const |
| Wraps OrtApi::SessionGetOverridableInitializerTypeInfo. | |
| int | GetOpset (const std::string &domain) const |
| Wraps OrtApi::SessionGetOpsetForDomain. | |
| std::vector< ValueInfo > | GetInputs () const |
| std::vector< ValueInfo > | GetOutputs () const |
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 |
| 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 | |
Protected Attributes inherited from Ort::detail::Base< T > | |
| contained_type * | p_ {} |
| using Ort::detail::ConstSessionImpl< T >::B = Base<T> |
| std::vector< ConstEpDevice > Ort::detail::ConstSessionImpl< T >::GetEpDeviceForInputs | ( | ) | const |
Wrapper for OrtApi::SessionGetEpDeviceForInputs.
| size_t Ort::detail::ConstSessionImpl< T >::GetInputCount | ( | ) | const |
Returns the number of model inputs.
| AllocatedStringPtr Ort::detail::ConstSessionImpl< T >::GetInputNameAllocated | ( | size_t | index, |
| OrtAllocator * | allocator | ||
| ) | const |
Returns a copy of input name at the specified index.
| index | must less than the value returned by GetInputCount() |
| allocator | to allocate memory for the copy of the name returned |
| std::vector< std::string > Ort::detail::ConstSessionImpl< T >::GetInputNames | ( | ) | const |
| std::vector< ValueInfo > Ort::detail::ConstSessionImpl< T >::GetInputs | ( | ) | const |
| TypeInfo Ort::detail::ConstSessionImpl< T >::GetInputTypeInfo | ( | size_t | index | ) | const |
| std::vector< ConstMemoryInfo > Ort::detail::ConstSessionImpl< T >::GetMemoryInfoForInputs | ( | ) | const |
Wrapper for OrtApi::SessionGetMemoryInfoForInputs.
| std::vector< ConstMemoryInfo > Ort::detail::ConstSessionImpl< T >::GetMemoryInfoForOutputs | ( | ) | const |
Wrapper for OrtApi::SessionGetMemoryInfoForOutputs.
| ModelMetadata Ort::detail::ConstSessionImpl< T >::GetModelMetadata | ( | ) | const |
| int Ort::detail::ConstSessionImpl< T >::GetOpset | ( | const std::string & | domain | ) | const |
Wraps OrtApi::SessionGetOpsetForDomain.
| size_t Ort::detail::ConstSessionImpl< T >::GetOutputCount | ( | ) | const |
Returns the number of model outputs.
| AllocatedStringPtr Ort::detail::ConstSessionImpl< T >::GetOutputNameAllocated | ( | size_t | index, |
| OrtAllocator * | allocator | ||
| ) | const |
Returns a copy of output name at then specified index.
| index | must less than the value returned by GetOutputCount() |
| allocator | to allocate memory for the copy of the name returned |
| std::vector< std::string > Ort::detail::ConstSessionImpl< T >::GetOutputNames | ( | ) | const |
| std::vector< ValueInfo > Ort::detail::ConstSessionImpl< T >::GetOutputs | ( | ) | const |
| TypeInfo Ort::detail::ConstSessionImpl< T >::GetOutputTypeInfo | ( | size_t | index | ) | const |
| size_t Ort::detail::ConstSessionImpl< T >::GetOverridableInitializerCount | ( | ) | const |
Returns the number of inputs that have defaults that can be overridden.
| AllocatedStringPtr Ort::detail::ConstSessionImpl< T >::GetOverridableInitializerNameAllocated | ( | size_t | index, |
| OrtAllocator * | allocator | ||
| ) | const |
Returns a copy of the overridable initializer name at then specified index.
| index | must less than the value returned by GetOverridableInitializerCount() |
| allocator | to allocate memory for the copy of the name returned |
| std::vector< std::string > Ort::detail::ConstSessionImpl< T >::GetOverridableInitializerNames | ( | ) | const |
| TypeInfo Ort::detail::ConstSessionImpl< T >::GetOverridableInitializerTypeInfo | ( | size_t | index | ) | const |
| uint64_t Ort::detail::ConstSessionImpl< T >::GetProfilingStartTimeNs | ( | ) | const |