kernel gen
| 105 | |
| 106 | //! kernel gen |
| 107 | std::string ResizeKernel::GetCVKernelSubSymbol(TContext* context) const { |
| 108 | std::stringstream ss; |
| 109 | auto src_dtype = context->getAttrOprand("operand:0").dtype; |
| 110 | ss << "tinycv_resize_linear_" << src_dtype; |
| 111 | return ss.str(); |
| 112 | } |
| 113 | |
| 114 | std::string ResizeKernel::GetCVKernelSignature(TContext* context) const { |
| 115 | return GetCVKernelSymbol(context) + "(const TinyMat* src, const TinyMat* dst)"; |
nothing calls this directly
no test coverage detected