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

Method run_NormalStrategy

lite/test/test_options.cpp:4–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2using namespace lar;
3
4void lar::run_NormalStrategy(std::string model_path) {
5 auto origin_level = mgb::get_log_level();
6 mgb::set_log_level(mgb::LogLevel::WARN);
7 NormalStrategy strategy(model_path);
8 strategy.run();
9 mgb::set_log_level(origin_level);
10}
11
12// vim: syntax=cpp.doxygen foldmethod=marker foldmarker=f{{{,f}}}

Callers

nothing calls this directly

Calls 2

set_log_levelFunction · 0.50
runMethod · 0.45

Tested by

no test coverage detected