ONNX Runtime
Loading...
Searching...
No Matches
Ort::detail::ConstOpAttrImpl< T > Struct Template Reference

#include <onnxruntime_cxx_api.h>

Inheritance diagram for Ort::detail::ConstOpAttrImpl< T >:
Ort::detail::Base< T >

Public Types

using B = detail::Base< T >
 
- Public Types inherited from Ort::detail::Base< T >
using contained_type = T
 

Public Member Functions

std::string GetName () const
 
OrtOpAttrType GetType () const
 
template<typename R >
Status GetValue (R &out) const
 
template<typename R >
Status GetValueArray (std::vector< R > &out) const
 
Status GetTensorAttributeAsOrtValue (Value &) 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
 
constexpr contained_typeoperator* () const noexcept
 
contained_typerelease ()
 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_typep_ {}
 

Member Typedef Documentation

◆ B

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

Member Function Documentation

◆ GetName()

template<typename T >
std::string Ort::detail::ConstOpAttrImpl< T >::GetName ( ) const

◆ GetTensorAttributeAsOrtValue()

template<typename T >
Status Ort::detail::ConstOpAttrImpl< T >::GetTensorAttributeAsOrtValue ( Value ) const

◆ GetType()

template<typename T >
OrtOpAttrType Ort::detail::ConstOpAttrImpl< T >::GetType ( ) const

◆ GetValue()

template<typename T >
template<typename R >
Status Ort::detail::ConstOpAttrImpl< T >::GetValue ( R &  out) const

◆ GetValueArray()

template<typename T >
template<typename R >
Status Ort::detail::ConstOpAttrImpl< T >::GetValueArray ( std::vector< R > &  out) const