| 205 | |
| 206 | template <> |
| 207 | KernelGenRet opr_fill_attr<megdnn::CVCvtColor>( |
| 208 | std::unordered_map<std::string, CCAttr>& attr_map, megdnn::CVCvtColor* opr, |
| 209 | const TensorNDArray& tensors, KernelGen::Arch arch, |
| 210 | const std::unordered_map<std::string, CCAttr>& proxy_attr) { |
| 211 | auto param = opr->param(); |
| 212 | FILL_MAP_EX(attr_map, param, mode, dnnparam_2_str); |
| 213 | return KernelGen::KernelPack::GetKernel(KernType::CvtColorKernel, arch); |
| 214 | } |
| 215 | |
| 216 | template <> |
| 217 | KernelGenRet opr_fill_attr<megdnn::CVWarpAffine>( |
nothing calls this directly
no outgoing calls
no test coverage detected