MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / get_algorithm_heuristic

Method get_algorithm_heuristic

dnn/src/naive/deformable_conv/opr_impl.cpp:145–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145DeformableConvForward::Algorithm* Fwd::get_algorithm_heuristic(
146 const TensorLayout& /* src */, const TensorLayout& /* filter */,
147 const TensorLayout& /* offset */, const TensorLayout& /* mask */,
148 const TensorLayout& /* dst */, size_t /* workspace_limit_in_bytes */,
149 const AlgoAttribute& positive_attr, const AlgoAttribute& negative_attr) {
150 auto algo = static_cast<HandleImpl*>(handle())->default_deformable_conv_fwd_algo();
151 algo->check_attribute(positive_attr, negative_attr);
152 return algo;
153}
154
155DeformableConvForward::Algorithm* Fwd::get_algorithm_from_desc(
156 const AlgorithmDesc& desc) {

Callers

nothing calls this directly

Tested by

no test coverage detected