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 | |
std::string | GetAllocatorName () const |
OrtAllocatorType | GetAllocatorType () const |
int | GetDeviceId () const |
OrtMemoryInfoDeviceType | GetDeviceType () const |
OrtMemType | GetMemoryType () const |
template<typename U > | |
bool | operator== (const MemoryInfoImpl< U > &o) 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::MemoryInfoImpl< T >::B = Base<T> |
std::string Ort::detail::MemoryInfoImpl< T >::GetAllocatorName | ( | ) | const |
OrtAllocatorType Ort::detail::MemoryInfoImpl< T >::GetAllocatorType | ( | ) | const |
int Ort::detail::MemoryInfoImpl< T >::GetDeviceId | ( | ) | const |
OrtMemoryInfoDeviceType Ort::detail::MemoryInfoImpl< T >::GetDeviceType | ( | ) | const |
OrtMemType Ort::detail::MemoryInfoImpl< T >::GetMemoryType | ( | ) | const |
bool Ort::detail::MemoryInfoImpl< T >::operator== | ( | const MemoryInfoImpl< U > & | o | ) | const |