HDK
|
#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. More... | |
size_t | GetOutputCount () const |
Returns the number of model outputs. More... | |
size_t | GetOverridableInitializerCount () const |
Returns the number of inputs that have defaults that can be overridden. More... | |
AllocatedStringPtr | GetInputNameAllocated (size_t index, OrtAllocator *allocator) const |
Returns a copy of input name at the specified index. More... | |
AllocatedStringPtr | GetOutputNameAllocated (size_t index, OrtAllocator *allocator) const |
Returns a copy of output name at then specified index. More... | |
AllocatedStringPtr | GetOverridableInitializerNameAllocated (size_t index, OrtAllocator *allocator) const |
Returns a copy of the overridable initializer name at then specified index. More... | |
uint64_t | GetProfilingStartTimeNs () const |
Wraps OrtApi::SessionGetProfilingStartTimeNs. More... | |
ModelMetadata | GetModelMetadata () const |
Wraps OrtApi::SessionGetModelMetadata. More... | |
TypeInfo | GetInputTypeInfo (size_t index) const |
Wraps OrtApi::SessionGetInputTypeInfo. More... | |
TypeInfo | GetOutputTypeInfo (size_t index) const |
Wraps OrtApi::SessionGetOutputTypeInfo. More... | |
TypeInfo | GetOverridableInitializerTypeInfo (size_t index) const |
Wraps OrtApi::SessionGetOverridableInitializerTypeInfo. More... | |
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 997 of file onnxruntime_cxx_api.h.
using Ort::detail::ConstSessionImpl< T >::B = Base<T> |
Definition at line 998 of file onnxruntime_cxx_api.h.
|
inline |
Returns the number of model inputs.
Definition at line 909 of file onnxruntime_cxx_inline.h.
|
inline |
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 |
Definition at line 930 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SessionGetInputTypeInfo.
Definition at line 965 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SessionGetModelMetadata.
Definition at line 958 of file onnxruntime_cxx_inline.h.
|
inline |
Returns the number of model outputs.
Definition at line 916 of file onnxruntime_cxx_inline.h.
|
inline |
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 |
Definition at line 937 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SessionGetOutputTypeInfo.
Definition at line 972 of file onnxruntime_cxx_inline.h.
|
inline |
Returns the number of inputs that have defaults that can be overridden.
Definition at line 923 of file onnxruntime_cxx_inline.h.
|
inline |
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 |
Definition at line 944 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SessionGetOverridableInitializerTypeInfo.
Definition at line 979 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SessionGetProfilingStartTimeNs.
Definition at line 951 of file onnxruntime_cxx_inline.h.