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

Method get_algorithm_heuristic

dnn/src/naive/conv_bias/opr_impl.cpp:306–314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304}
305
306ConvBiasForward::Algorithm* ConvBiasForwardImpl::get_algorithm_heuristic(
307 const TensorLayout& /* src */, const TensorLayout& /* filter */,
308 const TensorLayout& /* bias */, const TensorLayout& /* z */,
309 const TensorLayout& /* dst */, size_t /* workspace_limit_in_bytes */,
310 const AlgoAttribute& positive_attr, const AlgoAttribute& negative_attr) {
311 auto algo = static_cast<HandleImpl*>(handle())->default_conv_bias_fwd_algo();
312 algo->check_attribute(positive_attr, negative_attr);
313 return algo;
314}
315
316ConvBiasForward::Algorithm* ConvBiasForwardImpl::get_algorithm_from_desc(
317 const AlgorithmDesc& desc) {

Callers

nothing calls this directly

Calls 2

check_attributeMethod · 0.80

Tested by

no test coverage detected