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

#include <onnxruntime_cxx_api.h>

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

Public Types

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

Public Member Functions

ConstTensorTypeAndShapeInfo GetTensorTypeAndShapeInfo () const
 Wraps OrtApi::CastTypeInfoToTensorInfo.
 
ConstSequenceTypeInfo GetSequenceTypeInfo () const
 Wraps OrtApi::CastTypeInfoToSequenceTypeInfo.
 
ConstMapTypeInfo GetMapTypeInfo () const
 Wraps OrtApi::CastTypeInfoToMapTypeInfo.
 
ConstOptionalTypeInfo GetOptionalTypeInfo () const
 wraps OrtApi::CastTypeInfoToOptionalTypeInfo
 
ONNXType GetONNXType () 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.
 

Additional Inherited Members

- Protected Attributes inherited from Ort::detail::Base< T >
contained_typep_ {}
 

Member Typedef Documentation

◆ B

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

Member Function Documentation

◆ GetMapTypeInfo()

template<typename T >
ConstMapTypeInfo Ort::detail::TypeInfoImpl< T >::GetMapTypeInfo ( ) const

◆ GetONNXType()

template<typename T >
ONNXType Ort::detail::TypeInfoImpl< T >::GetONNXType ( ) const

◆ GetOptionalTypeInfo()

template<typename T >
ConstOptionalTypeInfo Ort::detail::TypeInfoImpl< T >::GetOptionalTypeInfo ( ) const

◆ GetSequenceTypeInfo()

template<typename T >
ConstSequenceTypeInfo Ort::detail::TypeInfoImpl< T >::GetSequenceTypeInfo ( ) const

◆ GetTensorTypeAndShapeInfo()

template<typename T >
ConstTensorTypeAndShapeInfo Ort::detail::TypeInfoImpl< T >::GetTensorTypeAndShapeInfo ( ) const