OnnxRuntime
|
#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 | |
KernelInfo | Copy () const |
template<typename R > | |
R | GetAttribute (const char *name) const |
template<typename R > | |
std::vector< R > | GetAttributes (const char *name) const |
Value | GetTensorAttribute (const char *name, OrtAllocator *allocator) const |
size_t | GetInputCount () const |
size_t | GetOutputCount () const |
std::string | GetInputName (size_t index) const |
std::string | GetOutputName (size_t index) const |
TypeInfo | GetInputTypeInfo (size_t index) const |
TypeInfo | GetOutputTypeInfo (size_t index) 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 |
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::KernelInfoImpl< T >::B = Base<T> |
KernelInfo Ort::detail::KernelInfoImpl< T >::Copy | ( | ) | const |
|
inline |
|
inline |
size_t Ort::detail::KernelInfoImpl< T >::GetInputCount | ( | ) | const |
std::string Ort::detail::KernelInfoImpl< T >::GetInputName | ( | size_t | index | ) | const |
TypeInfo Ort::detail::KernelInfoImpl< T >::GetInputTypeInfo | ( | size_t | index | ) | const |
size_t Ort::detail::KernelInfoImpl< T >::GetOutputCount | ( | ) | const |
std::string Ort::detail::KernelInfoImpl< T >::GetOutputName | ( | size_t | index | ) | const |
TypeInfo Ort::detail::KernelInfoImpl< T >::GetOutputTypeInfo | ( | size_t | index | ) | const |
Value Ort::detail::KernelInfoImpl< T >::GetTensorAttribute | ( | const char * | name, |
OrtAllocator * | allocator | ||
) | const |