HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Ort::TypeInfo Struct Reference

Type information that may contain either TensorTypeAndShapeInfo or the information about contained sequence or map depending on the ONNXType. More...

#include <onnxruntime_cxx_api.h>

+ Inheritance diagram for Ort::TypeInfo:

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)
 
- Public Member Functions inherited from Ort::detail::TypeInfoImpl< OrtTypeInfo >
ConstTensorTypeAndShapeInfo GetTensorTypeAndShapeInfo () const
 Wraps OrtApi::CastTypeInfoToTensorInfo. More...
 
ConstSequenceTypeInfo GetSequenceTypeInfo () const
 Wraps OrtApi::CastTypeInfoToSequenceTypeInfo. More...
 
ConstMapTypeInfo GetMapTypeInfo () const
 Wraps OrtApi::CastTypeInfoToMapTypeInfo. More...
 
ONNXType GetONNXType () const
 
- Public Member Functions inherited from Ort::detail::Base< OrtTypeInfo >
constexpr Base ()=default
 
constexpr Base (contained_type *p) noexcept
 
 Base (const Base &)=delete
 
 Base (Base &&v) noexcept
 
 ~Base ()
 
Baseoperator= (const Base &)=delete
 
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

- Public Types inherited from Ort::detail::TypeInfoImpl< OrtTypeInfo >
using B = Base< OrtTypeInfo >
 
- Public Types inherited from Ort::detail::Base< OrtTypeInfo >
using contained_type = OrtTypeInfo
 
- Protected Attributes inherited from Ort::detail::Base< OrtTypeInfo >
contained_typep_
 

Detailed Description

Type information that may contain either TensorTypeAndShapeInfo or the information about contained sequence or map depending on the ONNXType.

Definition at line 928 of file onnxruntime_cxx_api.h.

Constructor & Destructor Documentation

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

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

Definition at line 929 of file onnxruntime_cxx_api.h.

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

Definition at line 930 of file onnxruntime_cxx_api.h.


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