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

Method get_algorithm_heuristic

dnn/src/naive/convolution3d/opr_impl.cpp:118–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118Convolution3DForward::Algorithm* Convolution3DForwardImpl::get_algorithm_heuristic(
119 const TensorLayout& /* src */, const TensorLayout& /* filter */,
120 const TensorLayout& /* dst */, size_t /* workspace_limit_in_bytes */,
121 const AlgoAttribute& positive_attr, const AlgoAttribute& negative_attr) {
122 auto algo = static_cast<HandleImpl*>(handle())->default_conv3d_fwd_algo();
123 algo->check_attribute(positive_attr, negative_attr);
124 return algo;
125}
126
127Convolution3DForward::Algorithm* Convolution3DForwardImpl::get_algorithm_from_desc(
128 const AlgorithmDesc& desc) {

Callers

nothing calls this directly

Calls 2

check_attributeMethod · 0.80

Tested by

no test coverage detected