kernel gen
| 19 | |
| 20 | //! kernel gen |
| 21 | std::string CvTransposeKernel::GetCVKernelSubSymbol(TContext* context) const { |
| 22 | std::stringstream ss; |
| 23 | auto src_dtype = context->getAttrOprand("operand:0").dtype; |
| 24 | ss << "tinycv_transpose_" << src_dtype; |
| 25 | return ss.str(); |
| 26 | } |
| 27 | |
| 28 | std::string CvTransposeKernel::GetCVKernelSignature(TContext* context) const { |
| 29 | return GetCVKernelSymbol(context) + "(const TinyMat* src, const TinyMat* dst)"; |
nothing calls this directly
no test coverage detected