HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Ort::detail::MemoryInfoImpl< T > Struct Template Reference

#include <onnxruntime_cxx_api.h>

+ Inheritance diagram for Ort::detail::MemoryInfoImpl< T >:

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
 
Baseoperator= (const Base &)=delete
 
 Base (Base &&v) noexcept
 
Baseoperator= (Base &&v) noexcept
 
constexpr operator contained_type * () const noexcept
 
contained_typerelease ()
 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_typep_ {}
 

Detailed Description

template<typename T>
struct Ort::detail::MemoryInfoImpl< T >

Definition at line 797 of file onnxruntime_cxx_api.h.

Member Typedef Documentation

template<typename T>
using Ort::detail::MemoryInfoImpl< T >::B = Base<T>

Definition at line 798 of file onnxruntime_cxx_api.h.

Member Function Documentation

template<typename T >
std::string Ort::detail::MemoryInfoImpl< T >::GetAllocatorName ( ) const
inline

Definition at line 187 of file onnxruntime_cxx_inline.h.

template<typename T >
OrtAllocatorType Ort::detail::MemoryInfoImpl< T >::GetAllocatorType ( ) const
inline

Definition at line 194 of file onnxruntime_cxx_inline.h.

template<typename T >
int Ort::detail::MemoryInfoImpl< T >::GetDeviceId ( ) const
inline

Definition at line 201 of file onnxruntime_cxx_inline.h.

template<typename T >
OrtMemoryInfoDeviceType Ort::detail::MemoryInfoImpl< T >::GetDeviceType ( ) const
inline

Definition at line 208 of file onnxruntime_cxx_inline.h.

template<typename T >
OrtMemType Ort::detail::MemoryInfoImpl< T >::GetMemoryType ( ) const
inline

Definition at line 215 of file onnxruntime_cxx_inline.h.

template<typename T >
template<typename U >
bool Ort::detail::MemoryInfoImpl< T >::operator== ( const MemoryInfoImpl< U > &  o) const
inline

Definition at line 223 of file onnxruntime_cxx_inline.h.


The documentation for this struct was generated from the following files: