ONE - On-device Neural Engine
|
#include <ONNXNodeConverterRegistry.h>
Public Types | |
using | ConverterFunc = void(*)(const onnx::NodeProto &onnx_node, ConverterContext *context) |
Public Member Functions | |
NodeConverterRegistry ()=default | |
ConverterFunc | lookup (const std::string &optype, int64_t opset) const |
void | registerConverter (const std::string &op_type, int64_t opset, ConverterFunc conv) |
Static Public Member Functions | |
static NodeConverterRegistry & | getInstance () |
Definition at line 60 of file ONNXNodeConverterRegistry.h.
using mir_onnx::NodeConverterRegistry::ConverterFunc = void (*)(const onnx::NodeProto &onnx_node, ConverterContext *context) |
Definition at line 63 of file ONNXNodeConverterRegistry.h.
|
default |
|
static |
Definition at line 130 of file ONNXNodeConverterRegistry.cpp.
Referenced by mir_onnx::registerSupportedOps().
NodeConverterRegistry::ConverterFunc mir_onnx::NodeConverterRegistry::lookup | ( | const std::string & | optype, |
int64_t | opset | ||
) | const |
Definition at line 108 of file ONNXNodeConverterRegistry.cpp.
void mir_onnx::NodeConverterRegistry::registerConverter | ( | const std::string & | op_type, |
int64_t | opset, | ||
NodeConverterRegistry::ConverterFunc | conv | ||
) |
Definition at line 136 of file ONNXNodeConverterRegistry.cpp.