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 > () |
using onnxruntime::utils::MLTypeCallDispatcherFromTypeList = typedef boost::mp11::mp_apply<MLTypeCallDispatcher, L> |
Definition at line 412 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 145 of file data_types_internal.h.
bool onnxruntime::utils::IsOpaqueType | ( | MLDataType | ml_type, |
const char * | domain, | ||
const char * | name | ||
) |
|
inline |
Definition at line 153 of file data_types_internal.h.
|
inline |
Definition at line 161 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 19 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< BFloat16 > | ( | ) |
Definition at line 75 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< bool > | ( | ) |
Definition at line 55 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< double > | ( | ) |
Definition at line 63 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< float > | ( | ) |
Definition at line 23 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< int16_t > | ( | ) |
Definition at line 39 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< int32_t > | ( | ) |
Definition at line 43 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< int64_t > | ( | ) |
Definition at line 47 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< int8_t > | ( | ) |
Definition at line 31 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< MLFloat16 > | ( | ) |
Definition at line 59 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< std::string > | ( | ) |
Definition at line 51 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< uint16_t > | ( | ) |
Definition at line 35 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< uint32_t > | ( | ) |
Definition at line 67 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< uint64_t > | ( | ) |
Definition at line 71 of file to_tensor_proto_element_type.h.
constexpr ONNX_NAMESPACE::TensorProto_DataType onnxruntime::utils::ToTensorProtoElementType< uint8_t > | ( | ) |
Definition at line 27 of file to_tensor_proto_element_type.h.