kernel gen
| 89 | |
| 90 | //! kernel gen |
| 91 | std::string ResizeKernel::GetCVKernelSubSymbol(TContext* context) const { |
| 92 | std::stringstream ss; |
| 93 | auto src_dtype = context->getAttrOprand("operand:0").dtype; |
| 94 | ss << "tinycv_resize_linear_" << src_dtype; |
| 95 | return ss.str(); |
| 96 | } |
| 97 | |
| 98 | std::string ResizeKernel::GetCVKernelSignature(TContext* context) const { |
| 99 | return GetCVKernelSymbol(context) + "(const TinyMat* src, const TinyMat* dst)"; |
nothing calls this directly
no test coverage detected