ONE - On-device Neural Engine
|
Class to return graph builder for TF nodes. More...
#include <GraphBuilderRegistry.h>
Public Member Functions | |
GraphBuilderRegistry () | |
GraphBuilderRegistry (const GraphBuilderSource *parent) | |
const GraphBuilder * | lookup (const std::string &op) const final |
Returns registered GraphBuilder pointer for operator or nullptr if not registered. | |
void | add (const std::string op, std::unique_ptr< GraphBuilder > &&builder) |
Public Member Functions inherited from moco::GraphBuilderSource | |
virtual | ~GraphBuilderSource ()=default |
Static Public Member Functions | |
static GraphBuilderRegistry & | get () |
Class to return graph builder for TF nodes.
Definition at line 42 of file GraphBuilderRegistry.h.
moco::GraphBuilderRegistry::GraphBuilderRegistry | ( | ) |
Definition at line 25 of file GraphBuilderRegistry.cpp.
References add().
|
inline |
Definition at line 48 of file GraphBuilderRegistry.h.
|
inline |
Definition at line 73 of file GraphBuilderRegistry.h.
Referenced by GraphBuilderRegistry().
|
inlinestatic |
Definition at line 66 of file GraphBuilderRegistry.h.
Referenced by moco::Importer::import().
|
inlinefinalvirtual |
Returns registered GraphBuilder pointer for operator or nullptr if not registered.
Implements moco::GraphBuilderSource.
Definition at line 58 of file GraphBuilderRegistry.h.
References moco::GraphBuilderSource::lookup().