| 376 | |
| 377 | template <> |
| 378 | KernelGenRet opr_fill_attr<megdnn::CVResize>( |
| 379 | std::unordered_map<std::string, CCAttr>& attr_map, megdnn::CVResize* opr, |
| 380 | const TensorNDArray& tensors, KernelGen::Arch arch, |
| 381 | const std::unordered_map<std::string, CCAttr>& proxy_attr) { |
| 382 | auto param = opr->param(); |
| 383 | |
| 384 | FILL_MAP_EX(attr_map, param, imode, dnnparam_2_str); |
| 385 | FILL_MAP_EX(attr_map, param, format, dnnparam_2_str); |
| 386 | return KernelGen::KernelPack::GetKernel(KernType::ResizeKernel, arch); |
| 387 | } |
| 388 | |
| 389 | template <> |
| 390 | KernelGenRet opr_fill_attr<megdnn::ResizeForward>( |
nothing calls this directly
no outgoing calls
no test coverage detected