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

Method get_all_algorithms_safe

dnn/src/fallback/pooling/opr_impl.cpp:151–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151std::vector<Algorithm*> PoolingImpl::get_all_algorithms_safe(
152 const TensorLayout& src, const TensorLayout& dst) {
153 auto ret_safe = get_all_algorithms(src, dst);
154 megdnn_assert(!ret_safe.empty(), "no usable pooling fwd algorithm");
155 return ret_safe;
156}
157
158Algorithm* PoolingImpl::get_algorithm_heuristic(
159 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