Help Center/
Atlas 500 Application/
Matrix API Reference/
Model Manager APIs (C++ Language)/
Other Compilation Dependent APIs/
REGISTER_NN_NODE
Updated on 2022-03-13 GMT+08:00
REGISTER_NN_NODE
NN node registration macro.
/*
* @brief NNNode Registration macro. The service NN node is used in the implementation class.
* REGISTER_ENGINE(desc, clazz) is used directly.
* @param [in] desc Object of the NN node description information
* @param [in] clazz Class name of the NN node
*/
#define REGISTER_NN_NODE(desc, name) \
std::shared_ptr<IAINNNode> NNNode_##name##_Creator() \
{ \
return std::make_shared<name>(); \
} \
AINNNodeRegisterar g_nnnode_##name##_creator(desc,NNNode_##name##_Creator)
Parent topic: Other Compilation Dependent APIs
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot