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

Method get_all_algorithms_safe

dnn/src/arm_common/pooling/opr_impl.cpp:199–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197 return ret;
198}
199std::vector<Algorithm*> PoolingImpl::get_all_algorithms_safe(
200 const TensorLayout& src, const TensorLayout& dst) {
201 auto ret_safe = get_all_algorithms(src, dst);
202 megdnn_assert(!ret_safe.empty(), "no usable pooling fwd algorithm");
203 return ret_safe;
204}
205
206Algorithm* PoolingImpl::get_algorithm_heuristic(
207 const TensorLayout& src, const TensorLayout& dst,

Callers

nothing calls this directly

Calls 2

get_all_algorithmsFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected