OnnxRuntime
Ort::TypeInfo Struct Reference

#include <onnxruntime_cxx_api.h>

Inherits Ort::Base< OrtTypeInfo >.

Public Member Functions

 TypeInfo (std::nullptr_t)
 Create an empty TypeInfo object, must be assigned a valid one to be used. More...
 
 TypeInfo (OrtTypeInfo *p)
 C API Interop. More...
 
Unowned< TensorTypeAndShapeInfoGetTensorTypeAndShapeInfo () const
 Wraps OrtApi::CastTypeInfoToTensorInfo. More...
 
Unowned< SequenceTypeInfoGetSequenceTypeInfo () const
 Wraps OrtApi::CastTypeInfoToSequenceTypeInfo. More...
 
Unowned< MapTypeInfoGetMapTypeInfo () const
 Wraps OrtApi::CastTypeInfoToMapTypeInfo. More...
 
ONNXType GetONNXType () const
 
- Public Member Functions inherited from Ort::Base< OrtTypeInfo >
 Base ()=default
 
 Base (OrtTypeInfo *p)
 
 ~Base ()
 
 operator OrtTypeInfo * ()
 
 operator const OrtTypeInfo * () const
 
OrtTypeInforelease ()
 Releases ownership of the contained pointer. More...
 

Additional Inherited Members

- Public Types inherited from Ort::Base< OrtTypeInfo >
using contained_type = OrtTypeInfo
 
- Protected Member Functions inherited from Ort::Base< OrtTypeInfo >
 Base (const Base &)=delete
 
 Base (Base &&v) noexcept
 
Baseoperator= (const Base &)=delete
 
void operator= (Base &&v) noexcept
 
- Protected Attributes inherited from Ort::Base< OrtTypeInfo >
OrtTypeInfop_
 

Constructor & Destructor Documentation

◆ TypeInfo() [1/2]

Ort::TypeInfo::TypeInfo ( std::nullptr_t  )
inlineexplicit

Create an empty TypeInfo object, must be assigned a valid one to be used.

◆ TypeInfo() [2/2]

Ort::TypeInfo::TypeInfo ( OrtTypeInfo p)
inlineexplicit

C API Interop.

Member Function Documentation

◆ GetMapTypeInfo()

Unowned< MapTypeInfo > Ort::TypeInfo::GetMapTypeInfo ( ) const

◆ GetONNXType()

ONNXType Ort::TypeInfo::GetONNXType ( ) const

◆ GetSequenceTypeInfo()

Unowned< SequenceTypeInfo > Ort::TypeInfo::GetSequenceTypeInfo ( ) const

◆ GetTensorTypeAndShapeInfo()

Unowned< TensorTypeAndShapeInfo > Ort::TypeInfo::GetTensorTypeAndShapeInfo ( ) const