HDK
|
Namespaces | |
data_types_internal | |
mltype_dispatcher_internal | |
Classes | |
class | MLTypeCallDispatcher |
class | ContainerChecker |
Typedefs | |
template<typename L > | |
using | MLTypeCallDispatcherFromTypeList = boost::mp11::mp_apply< MLTypeCallDispatcher, L > |
Functions | |
bool | IsDataTypeString (MLDataType dt_type) |
Use the following primitives if you have a few types to switch on so you. More... | |
template<class T > | |
bool | IsPrimitiveDataType (MLDataType dt_type) |
template<class T > | |
bool | IsPrimitiveDataType (const PrimitiveDataTypeBase *prim_type) |
bool | IsOpaqueType (MLDataType ml_type, const char *domain, const char *name) |
template<typename T > | |
constexpr ONNX_NAMESPACE::TensorProto_DataType | ToTensorProtoElementType () |
template<> | |
constexpr ONNX_NAMESPACE::TensorProto_DataType | ToTensorProtoElementType< float > () |
template<> | |
constexpr ONNX_NAMESPACE::TensorProto_DataType | ToTensorProtoElementType< uint8_t > () |
template<> | |
constexpr ONNX_NAMESPACE::TensorProto_DataType | ToTensorProtoElementType< int8_t > () |
template<> | |
constexpr ONNX_NAMESPACE::TensorProto_DataType | ToTensorProtoElementType< uint16_t > () |
template<> | |
constexpr ONNX_NAMESPACE::TensorProto_DataType | ToTensorProtoElementType< int16_t > () |
template<> | |
constexpr ONNX_NAMESPACE::TensorProto_DataType | ToTensorProtoElementType< int32_t > () |
template<> | |
constexpr ONNX_NAMESPACE::TensorProto_DataType | ToTensorProtoElementType< int64_t > () |
template<> | |
constexpr ONNX_NAMESPACE::TensorProto_DataType | ToTensorProtoElementType< std::string > () |
template<> | |
constexpr ONNX_NAMESPACE::TensorProto_DataType | ToTensorProtoElementType< bool > () |
template<> | |
constexpr ONNX_NAMESPACE::TensorProto_DataType | ToTensorProtoElementType< MLFloat16 > () |
template<> | |
constexpr ONNX_NAMESPACE::TensorProto_DataType | ToTensorProtoElementType< double > () |
template<> | |
constexpr ONNX_NAMESPACE::TensorProto_DataType | ToTensorProtoElementType< uint32_t > () |
template<> | |
constexpr ONNX_NAMESPACE::TensorProto_DataType | ToTensorProtoElementType< uint64_t > () |
template<> | |
constexpr ONNX_NAMESPACE::TensorProto_DataType | ToTensorProtoElementType< BFloat16 > () |
template<> | |
constexpr ONNX_NAMESPACE::TensorProto_DataType | ToTensorProtoElementType< Float8E4M3FN > () |
template<> | |
constexpr ONNX_NAMESPACE::TensorProto_DataType | ToTensorProtoElementType< Float8E4M3FNUZ > () |
template<> | |
constexpr ONNX_NAMESPACE::TensorProto_DataType | ToTensorProtoElementType< Float8E5M2 > () |
template<> | |
constexpr ONNX_NAMESPACE::TensorProto_DataType | ToTensorProtoElementType< Float8E5M2FNUZ > () |
template<> | |
constexpr ONNX_NAMESPACE::TensorProto_DataType | ToTensorProtoElementType< Int4x2 > () |
template<> | |
constexpr ONNX_NAMESPACE::TensorProto_DataType | ToTensorProtoElementType< UInt4x2 > () |
using onnxruntime::utils::MLTypeCallDispatcherFromTypeList = typedef boost::mp11::mp_apply<MLTypeCallDispatcher, L> |
Definition at line 556 of file data_types_internal.h.
|
inline |
Use the following primitives if you have a few types to switch on so you.
Definition at line 289 of file data_types_internal.h.
bool onnxruntime::utils::IsOpaqueType | ( | MLDataType | ml_type, |
const char * | domain, | ||
const char * | name | ||
) |
|
inline |
Definition at line 297 of file data_types_internal.h.
|
inline |
Definition at line 305 of file data_types_internal.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType | ( | ) |
Gets the TensorProto_DataType corresponding to the template type T
.
Definition at line 21 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< BFloat16 > | ( | ) |
Definition at line 77 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< bool > | ( | ) |
Definition at line 57 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< double > | ( | ) |
Definition at line 65 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< float > | ( | ) |
Definition at line 25 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< Float8E4M3FN > | ( | ) |
Definition at line 84 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< Float8E4M3FNUZ > | ( | ) |
Definition at line 88 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< Float8E5M2 > | ( | ) |
Definition at line 92 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< Float8E5M2FNUZ > | ( | ) |
Definition at line 96 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< int16_t > | ( | ) |
Definition at line 41 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< int32_t > | ( | ) |
Definition at line 45 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< Int4x2 > | ( | ) |
Definition at line 102 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< int64_t > | ( | ) |
Definition at line 49 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< int8_t > | ( | ) |
Definition at line 33 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< MLFloat16 > | ( | ) |
Definition at line 61 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< std::string > | ( | ) |
Definition at line 53 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< uint16_t > | ( | ) |
Definition at line 37 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< uint32_t > | ( | ) |
Definition at line 69 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< UInt4x2 > | ( | ) |
Definition at line 106 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< uint64_t > | ( | ) |
Definition at line 73 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< uint8_t > | ( | ) |
Definition at line 29 of file to_tensor_proto_element_type.h.