![]() |
ONNX Runtime
|
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>
Public Types | |
| using | Base = detail::TypeInfoImpl< OrtTypeInfo > |
Public Types inherited from Ort::detail::TypeInfoImpl< OrtTypeInfo > | |
| using | B = Base< OrtTypeInfo > |
Public Types inherited from Ort::detail::Base< T > | |
| using | contained_type = T |
Public Member Functions | |
| TypeInfo (std::nullptr_t) | |
| Create an empty TypeInfo object, must be assigned a valid one to be used. | |
| TypeInfo (OrtTypeInfo *p) | |
| C API Interop. | |
| ConstTypeInfo | GetConst () const |
Public Member Functions inherited from Ort::detail::TypeInfoImpl< OrtTypeInfo > | |
| 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 | |
| Base & | operator= (const Base &)=delete |
| Base (Base &&v) noexcept | |
| Base & | operator= (Base &&v) noexcept |
| constexpr | operator contained_type * () const noexcept |
| constexpr contained_type & | operator* () const noexcept |
| contained_type * | release () |
| Relinquishes ownership of the contained C object pointer The underlying object is not destroyed. | |
Static Public Member Functions | |
| static TypeInfo | CreateTensorInfo (ConstTensorTypeAndShapeInfo tensor_info) |
| static TypeInfo | CreateSparseTensorInfo (ConstTensorTypeAndShapeInfo sparse_tensor_info) |
| static TypeInfo | CreateSequenceTypeInfo (ConstTypeInfo sequence_type) |
| static TypeInfo | CreateMapTypeInfo (ONNXTensorElementDataType key_type, ConstTypeInfo value_type) |
| static TypeInfo | CreateOptionalTypeInfo (ConstTypeInfo contained_type) |
Additional Inherited Members | |
Protected Attributes inherited from Ort::detail::Base< T > | |
| contained_type * | p_ {} |
Type information that may contain either TensorTypeAndShapeInfo or the information about contained sequence or map depending on the ONNXType.
|
inlineexplicit |
Create an empty TypeInfo object, must be assigned a valid one to be used.
|
inlineexplicit |
C API Interop.
|
static |
|
static |
|
static |
|
static |
|
static |
|
inline |