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

Method CVRotate>

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

Source from the content-addressed store, hash-verified

400
401template <>
402KernelGenRet opr_fill_attr<megdnn::CVRotate>(
403 std::unordered_map<std::string, CCAttr>& attr_map, megdnn::CVRotate* opr,
404 const TensorNDArray& tensors, KernelGen::Arch arch,
405 const std::unordered_map<std::string, CCAttr>& proxy_attr) {
406 auto param = opr->param();
407
408 FILL_MAP(attr_map, param, clockwise);
409 return KernelGen::KernelPack::GetKernel(KernType::RotateKernel, arch);
410}
411
412template <>
413KernelGenRet opr_fill_attr<megdnn::CVGaussianBlur>(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected