| 94 | return GetInitSymbol(context) + GenCommonInitCall(); |
| 95 | }; |
| 96 | virtual std::string GetInitBody(TContext* context) const { |
| 97 | std::stringstream ss; |
| 98 | ss << GenCommonRet() << " " << GetInitSignature(context) << R"({ |
| 99 | if (nr_out_weight){ |
| 100 | *nr_out_weight = 0; |
| 101 | } |
| 102 | return TinyNN_SUCCESS; |
| 103 | })"; |
| 104 | return ss.str(); |
| 105 | }; |
| 106 | |
| 107 | //! workspace gen |
| 108 | virtual std::string GetWorkspaceSymbol(TContext* context) const { |
nothing calls this directly
no test coverage detected