HDK
|
SequenceTensorTypeBase serves as a base type class for Tensor sequences. Akin to TensorTypeBase. Runtime representation is always TensorSeq. More...
#include <data_types.h>
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... | |
virtual MLDataType | GetElementType () const |
DeleteFunc | GetDeleteFunc () const override |
const ONNX_NAMESPACE::TypeProto * | GetTypeProto () const override |
Retrieves an instance of TypeProto for a given MLDataType. More... | |
SequenceTensorTypeBase (const SequenceTensorTypeBase &)=delete | |
SequenceTensorTypeBase & | operator= (const SequenceTensorTypeBase &)=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 |
Protected Member Functions | |
SequenceTensorTypeBase () | |
~SequenceTensorTypeBase () | |
ONNX_NAMESPACE::TypeProto & | MutableTypeProto () |
Protected Member Functions inherited from onnxruntime::DataTypeImpl | |
DataTypeImpl (GeneralType type, size_t size) | |
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_ |
SequenceTensorTypeBase serves as a base type class for Tensor sequences. Akin to TensorTypeBase. Runtime representation is always TensorSeq.
Definition at line 817 of file data_types.h.
|
delete |
|
protected |
|
protected |
|
overridevirtual |
Implements onnxruntime::DataTypeImpl.
|
inlinevirtual |
Reimplemented in onnxruntime::SequenceTensorType< TensorElemType >.
Definition at line 823 of file data_types.h.
|
overridevirtual |
Retrieves an instance of TypeProto for a given MLDataType.
Implements onnxruntime::DataTypeImpl.
|
overridevirtual |
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.
|
protected |
|
delete |
|
static |