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 "onnx/onnx_pb.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 > ()