HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
to_tensor_proto_element_type.h File Reference
#include <cstdint>
#include <string>
#include "core/graph/onnx_protobuf.h"
#include "core/framework/float8.h"
#include "core/framework/float16.h"
+ Include dependency graph for to_tensor_proto_element_type.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 onnxruntime
 
 onnxruntime::utils
 

Functions

template<typename T >
constexpr
ONNX_NAMESPACE::TensorProto_DataType 
onnxruntime::utils::ToTensorProtoElementType ()
 
template<>
constexpr
ONNX_NAMESPACE::TensorProto_DataType 
onnxruntime::utils::ToTensorProtoElementType< float > ()
 
template<>
constexpr
ONNX_NAMESPACE::TensorProto_DataType 
onnxruntime::utils::ToTensorProtoElementType< uint8_t > ()
 
template<>
constexpr
ONNX_NAMESPACE::TensorProto_DataType 
onnxruntime::utils::ToTensorProtoElementType< int8_t > ()
 
template<>
constexpr
ONNX_NAMESPACE::TensorProto_DataType 
onnxruntime::utils::ToTensorProtoElementType< uint16_t > ()
 
template<>
constexpr
ONNX_NAMESPACE::TensorProto_DataType 
onnxruntime::utils::ToTensorProtoElementType< int16_t > ()
 
template<>
constexpr
ONNX_NAMESPACE::TensorProto_DataType 
onnxruntime::utils::ToTensorProtoElementType< int32_t > ()
 
template<>
constexpr
ONNX_NAMESPACE::TensorProto_DataType 
onnxruntime::utils::ToTensorProtoElementType< int64_t > ()
 
template<>
constexpr
ONNX_NAMESPACE::TensorProto_DataType 
onnxruntime::utils::ToTensorProtoElementType< std::string > ()
 
template<>
constexpr
ONNX_NAMESPACE::TensorProto_DataType 
onnxruntime::utils::ToTensorProtoElementType< bool > ()
 
template<>
constexpr
ONNX_NAMESPACE::TensorProto_DataType 
onnxruntime::utils::ToTensorProtoElementType< MLFloat16 > ()
 
template<>
constexpr
ONNX_NAMESPACE::TensorProto_DataType 
onnxruntime::utils::ToTensorProtoElementType< double > ()
 
template<>
constexpr
ONNX_NAMESPACE::TensorProto_DataType 
onnxruntime::utils::ToTensorProtoElementType< uint32_t > ()
 
template<>
constexpr
ONNX_NAMESPACE::TensorProto_DataType 
onnxruntime::utils::ToTensorProtoElementType< uint64_t > ()
 
template<>
constexpr
ONNX_NAMESPACE::TensorProto_DataType 
onnxruntime::utils::ToTensorProtoElementType< BFloat16 > ()
 
template<>
constexpr
ONNX_NAMESPACE::TensorProto_DataType 
onnxruntime::utils::ToTensorProtoElementType< Float8E4M3FN > ()
 
template<>
constexpr
ONNX_NAMESPACE::TensorProto_DataType 
onnxruntime::utils::ToTensorProtoElementType< Float8E4M3FNUZ > ()
 
template<>
constexpr
ONNX_NAMESPACE::TensorProto_DataType 
onnxruntime::utils::ToTensorProtoElementType< Float8E5M2 > ()
 
template<>
constexpr
ONNX_NAMESPACE::TensorProto_DataType 
onnxruntime::utils::ToTensorProtoElementType< Float8E5M2FNUZ > ()