|
nndeploy C++ API
0.2.0
nndeploy C++ API
|
Node creator base class. More...
#include <node.h>
Public Member Functions | |
| virtual Node * | createNode (const std::string &node_name, std::vector< Edge * > inputs, std::vector< Edge * > outputs)=0 |
| Create node. More... | |
| virtual std::shared_ptr< Node > | createNodeSharedPtr (const std::string &node_name, std::vector< Edge * > inputs, std::vector< Edge * > outputs)=0 |
| Create node (shared pointer) More... | |
| virtual | ~NodeCreator ()=default |
Node creator base class.
Base class for node creator used in node registration mechanism
|
virtualdefault |
|
pure virtual |
Create node.
| node_name | Node name |
| inputs | Input edge list |
| outputs | Output edge list |
Implemented in nndeploy::dag::TypeNodeCreator< T >.
|
pure virtual |
Create node (shared pointer)
| node_name | Node name |
| inputs | Input edge list |
| outputs | Output edge list |
Implemented in nndeploy::dag::TypeNodeCreator< T >.