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

Method ArgmaxForward>

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

Source from the content-addressed store, hash-verified

453
454template <>
455KernelGenRet opr_fill_attr<megdnn::ArgmaxForward>(
456 std::unordered_map<std::string, CCAttr>& attr_map, megdnn::ArgmaxForward* opr,
457 const TensorNDArray& tensors, KernelGen::Arch arch,
458 const std::unordered_map<std::string, CCAttr>& proxy_attr) {
459 auto param = opr->param();
460 FILL_MAP(attr_map, param, axis);
461 return KernelGen::KernelPack::GetKernel(KernType::ArgmaxKernel, arch);
462}
463template <>
464KernelGenRet opr_fill_attr<megdnn::ConvolutionBackwardData>(
465 std::unordered_map<std::string, CCAttr>& attr_map,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected