MCPcopy Create free account
hub / github.com/MegEngine/MegCC / CVCvtColor>

Method CVCvtColor>

compiler/test/kernel/common/src/cc_fill_attr.cpp:207–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205
206template <>
207KernelGenRet 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
216template <>
217KernelGenRet opr_fill_attr<megdnn::CVWarpAffine>(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected