HDK
|
#include <data_types.h>
Public Member Functions | |
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... | |
virtual void | FromDataContainer (const void *data, size_t data_size, OrtValue &output) const |
virtual void | ToDataContainer (const OrtValue &input, size_t data_size, void *data) const |
NonTensorTypeBase (const NonTensorTypeBase &)=delete | |
NonTensorTypeBase & | operator= (const NonTensorTypeBase &)=delete |
Public Member Functions inherited from onnxruntime::DataTypeImpl | |
virtual | ~DataTypeImpl ()=default |
virtual bool | IsCompatible (const ONNX_NAMESPACE::TypeProto &type_proto) const =0 |
this API will be used to check type compatibility at runtime More... | |
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 |
Protected Member Functions | |
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) | |
Definition at line 734 of file data_types.h.
|
inlineprotected |
Definition at line 750 of file data_types.h.
|
inlineoverridevirtual |
Implements onnxruntime::NonTensorTypeBase.
Definition at line 745 of file data_types.h.
|
inlineoverridevirtual |
Implements onnxruntime::NonTensorTypeBase.
Definition at line 741 of file data_types.h.