|
ONE - On-device Neural Engine
|
Class to store and query tensorflow::NodeDef* with string name key. More...
#include <GraphBuilderContext.h>
Public Member Functions | |
| void | enroll (const std::string &node_name, const tensorflow::NodeDef *node) |
| Registers a name with corresponding tensorflow::NodeDef*. | |
| const tensorflow::NodeDef * | node (const std::string &node_name) const |
| Queries enrolled(registered) with name and return node if found Will throw runtime_error if not found. | |
Class to store and query tensorflow::NodeDef* with string name key.
Definition at line 37 of file GraphBuilderContext.h.
| void moco::NodeDefTable::enroll | ( | const std::string & | node_name, |
| const tensorflow::NodeDef * | node | ||
| ) |
Registers a name with corresponding tensorflow::NodeDef*.
Definition at line 27 of file GraphBuilderContext.cpp.
References node().
| const tensorflow::NodeDef * moco::NodeDefTable::node | ( | const std::string & | node_name | ) | const |
Queries enrolled(registered) with name and return node if found Will throw runtime_error if not found.
Definition at line 39 of file GraphBuilderContext.cpp.
Referenced by enroll().