OnnxRuntime
|
#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< TensorTypeAndShapeInfo > | GetTensorTypeAndShapeInfo () const |
Wraps OrtApi::CastTypeInfoToTensorInfo. More... | |
Unowned< SequenceTypeInfo > | GetSequenceTypeInfo () const |
Wraps OrtApi::CastTypeInfoToSequenceTypeInfo. More... | |
Unowned< MapTypeInfo > | GetMapTypeInfo () 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 | |
OrtTypeInfo * | release () |
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 | |
Base & | operator= (const Base &)=delete |
void | operator= (Base &&v) noexcept |
Protected Attributes inherited from Ort::Base< OrtTypeInfo > | |
OrtTypeInfo * | p_ |
|
inlineexplicit |
Create an empty TypeInfo object, must be assigned a valid one to be used.
|
inlineexplicit |
C API Interop.
Unowned< MapTypeInfo > Ort::TypeInfo::GetMapTypeInfo | ( | ) | const |
ONNXType Ort::TypeInfo::GetONNXType | ( | ) | const |
Unowned< SequenceTypeInfo > Ort::TypeInfo::GetSequenceTypeInfo | ( | ) | const |
Unowned< TensorTypeAndShapeInfo > Ort::TypeInfo::GetTensorTypeAndShapeInfo | ( | ) | const |