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

Method CVResize>

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

Source from the content-addressed store, hash-verified

376
377template <>
378KernelGenRet 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
389template <>
390KernelGenRet opr_fill_attr<megdnn::ResizeForward>(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected