HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
onnxruntime::OpKernelRegistryId Struct Reference

Immutable object to identify a kernel registration. More...

#include <graph_transformer.h>

Public Member Functions

 OpKernelRegistryId (const std::basic_string_view< char > &op, const std::basic_string_view< char > &domain, const int version, const std::initializer_list< std::pair< const std::string, MLDataType >> &init_list)
 

Public Attributes

const std::string op_type_
 
const std::string domain_
 
const int version_
 
const InlinedHashMap
< std::string, MLDataType
type_constraints_
 

Detailed Description

Immutable object to identify a kernel registration.

This data structure is used by the graph transformers to check whether a kernel is registered with the execution provider (i.e. has an implementation). If not, the transformer can not generate a node with such kernel.

Definition at line 82 of file graph_transformer.h.

Constructor & Destructor Documentation

onnxruntime::OpKernelRegistryId::OpKernelRegistryId ( const std::basic_string_view< char > &  op,
const std::basic_string_view< char > &  domain,
const int  version,
const std::initializer_list< std::pair< const std::string, MLDataType >> &  init_list 
)
inline

Definition at line 88 of file graph_transformer.h.

Member Data Documentation

const std::string onnxruntime::OpKernelRegistryId::domain_

Definition at line 84 of file graph_transformer.h.

const std::string onnxruntime::OpKernelRegistryId::op_type_

Definition at line 83 of file graph_transformer.h.

const InlinedHashMap<std::string, MLDataType> onnxruntime::OpKernelRegistryId::type_constraints_

Definition at line 86 of file graph_transformer.h.

const int onnxruntime::OpKernelRegistryId::version_

Definition at line 85 of file graph_transformer.h.


The documentation for this struct was generated from the following file: