HDK
|
All tensors base. More...
#include <data_types.h>
Protected Member Functions | |
ONNX_NAMESPACE::TypeProto & | MutableTypeProto () |
TensorTypeBase () | |
~TensorTypeBase () override | |
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_ |
All tensors base.
Definition at line 395 of file data_types.h.
|
protected |
|
overrideprotected |
|
overridevirtual |
Implements onnxruntime::DataTypeImpl.
|
inlinevirtual |
Reimplemented in onnxruntime::TensorType< elemT >.
Definition at line 408 of file data_types.h.
|
overridevirtual |
Retrieves an instance of TypeProto for a given MLDataType.
Implements onnxruntime::DataTypeImpl.
|
overridevirtual |
We first compare type_proto pointers and then if they do not match try to account for the case where TypeProto was created ad-hoc and not queried from MLDataType
Implements onnxruntime::DataTypeImpl.
|
protected |
onnxruntime::TensorTypeBase::ORT_DISALLOW_COPY_ASSIGNMENT_AND_MOVE | ( | TensorTypeBase | ) |
|
static |