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 > () |
using onnxruntime::utils::MLTypeCallDispatcherFromTypeList = typedef boost::mp11::mp_apply<MLTypeCallDispatcher, L> |
Definition at line 532 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 265 of file data_types_internal.h.
bool onnxruntime::utils::IsOpaqueType | ( | MLDataType | ml_type, |
const char * | domain, | ||
const char * | name | ||
) |
|
inline |
Definition at line 273 of file data_types_internal.h.
|
inline |
Definition at line 281 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 20 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< BFloat16 > | ( | ) |
Definition at line 76 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< bool > | ( | ) |
Definition at line 56 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< double > | ( | ) |
Definition at line 64 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< float > | ( | ) |
Definition at line 24 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< Float8E4M3FN > | ( | ) |
Definition at line 83 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< Float8E4M3FNUZ > | ( | ) |
Definition at line 87 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< Float8E5M2 > | ( | ) |
Definition at line 91 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< Float8E5M2FNUZ > | ( | ) |
Definition at line 95 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< int16_t > | ( | ) |
Definition at line 40 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< int32_t > | ( | ) |
Definition at line 44 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< int64_t > | ( | ) |
Definition at line 48 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< int8_t > | ( | ) |
Definition at line 32 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< MLFloat16 > | ( | ) |
Definition at line 60 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< std::string > | ( | ) |
Definition at line 52 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< uint16_t > | ( | ) |
Definition at line 36 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< uint32_t > | ( | ) |
Definition at line 68 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< uint64_t > | ( | ) |
Definition at line 72 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< uint8_t > | ( | ) |
Definition at line 28 of file to_tensor_proto_element_type.h.