|
HDK
|
#include <data_types.h>
Inheritance diagram for onnxruntime::OpaqueType< T, D, N >:Public Member Functions | |
| bool | IsCompatible (const ONNX_NAMESPACE::TypeProto &type_proto) const override |
| this API will be used to check type compatibility at runtime More... | |
| void | FromDataContainer (const void *data, size_t data_size, OrtValue &output) const override |
| void | ToDataContainer (const OrtValue &input, size_t data_size, void *data) const override |
Public Member Functions inherited from onnxruntime::NonTensorType< T > | |
| DeleteFunc | GetDeleteFunc () const override |
| CreateFunc | GetCreateFunc () const override |
Public Member Functions inherited from onnxruntime::NonTensorTypeBase | |
| const ONNX_NAMESPACE::TypeProto * | GetTypeProto () const override |
| Retrieves an instance of TypeProto for a given MLDataType. More... | |
| NonTensorTypeBase (const NonTensorTypeBase &)=delete | |
| NonTensorTypeBase & | operator= (const NonTensorTypeBase &)=delete |
Public Member Functions inherited from onnxruntime::DataTypeImpl | |
| virtual | ~DataTypeImpl ()=default |
| size_t | Size () const |
| bool | IsTensorType () const |
| bool | IsTensorSequenceType () const |
| bool | IsSparseTensorType () const |
| bool | IsOptionalType () const |
| bool | IsNonTensorType () const |
| bool | IsPrimitiveDataType () const |
| const TensorTypeBase * | AsTensorType () const |
| const SequenceTensorTypeBase * | AsSequenceTensorType () const |
| const SparseTensorTypeBase * | AsSparseTensorType () const |
| const OptionalTypeBase * | AsOptionalType () const |
| const NonTensorTypeBase * | AsNonTensorType () const |
| const PrimitiveDataTypeBase * | AsPrimitiveDataType () const |
Additional Inherited Members | |
Public Types inherited from onnxruntime::DataTypeImpl | |
| enum | GeneralType { GeneralType::kInvalid = 0, GeneralType::kNonTensor = 1, GeneralType::kTensor = 2, GeneralType::kTensorSequence = 3, GeneralType::kSparseTensor = 4, GeneralType::kOptional = 5, GeneralType::kPrimitive = 6 } |
Public Attributes inherited from onnxruntime::DataTypeImpl | |
| const GeneralType | type_ |
| const size_t | size_ |
Protected Member Functions inherited from onnxruntime::NonTensorType< T > | |
| NonTensorType () | |
Protected Member Functions inherited from onnxruntime::NonTensorTypeBase | |
| NonTensorTypeBase (size_t size) | |
| ~NonTensorTypeBase () override | |
| ONNX_NAMESPACE::TypeProto & | MutableTypeProto () |
| bool | IsMapCompatible (const ONNX_NAMESPACE::TypeProto &type_proto) const |
| bool | IsSequenceCompatible (const ONNX_NAMESPACE::TypeProto &type_proto) const |
| bool | IsOpaqueCompatible (const ONNX_NAMESPACE::TypeProto &type_proto) const |
Protected Member Functions inherited from onnxruntime::DataTypeImpl | |
| DataTypeImpl (GeneralType type, size_t size) | |
| T | - cpp runtume that implements the Opaque type |
| const | char D[] - domain must be extern to be unique |
| const | char N[] - name must be extern to be unique |
Only one CPP type can be associated with a particular OpaqueType registration
Definition at line 895 of file data_types.h.
|
inlineoverridevirtual |
Reimplemented from onnxruntime::NonTensorTypeBase.
Definition at line 903 of file data_types.h.
|
inlineoverridevirtual |
this API will be used to check type compatibility at runtime
| type_proto | a TypeProto instance that is constructed for a specific type will be checked against a TypeProto instance contained within a corresponding MLDataType instance. |
Implements onnxruntime::DataTypeImpl.
Definition at line 899 of file data_types.h.
|
inlineoverridevirtual |
Reimplemented from onnxruntime::NonTensorTypeBase.
Definition at line 907 of file data_types.h.
|
static |