Operator Project Building and Deployment
Operator Building
The custom operator sample project in the ATC installation package provides a one-click build script, which can be used to build custom operators into an OPP runfile (.run) installer.
- Build the TBE operator information definition file (.ini) into aic-{SoC version}-ops-info.json.
- Build the prototype definition files (.h and .cpp) into libcust_op_proto.so.
- Build the operator plug-in implementation file (.cpp) into libcust_{tf|caffe}_parsers.so.
You can develop your own operators based on the sample project. You are not advised to modify the build configuration file; otherwise, the custom operator may fail to run. For details, see Operator Project Building.
Operator Deployment
Operator deployment refers to deploying the OPP runfile generated after operator building to the OPP operator library.
For details about the procedure, see Operator Deployment.