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

Method get_all_algorithms_safe

dnn/src/cuda/deformable_conv/opr_impl.cpp:40–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 return algos;
39}
40std::vector<AlgoFwd*> Fwd::get_all_algorithms_safe(
41 const TensorLayout& im, const TensorLayout& filter, const TensorLayout& offset,
42 const TensorLayout& mask, const TensorLayout& dst) {
43 auto ret_safe = Fwd::get_all_algorithms(im, filter, offset, mask, dst);
44 megdnn_assert(!ret_safe.empty(), "no usable deformable_conv fwd algorithm");
45 return ret_safe;
46}
47
48AlgoFwd* Fwd::get_algorithm_heuristic(
49 const TensorLayout& im, const TensorLayout& filter, const TensorLayout& offset,

Callers

nothing calls this directly

Calls 2

get_all_algorithmsFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected