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

Method run_model

lite/load_and_run/src/models/model_mdl.cpp:99–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99void ModelMdl::run_model() {
100 mgb_assert(
101 m_asyc_exec != nullptr,
102 "empty asychronous function to execute after graph compiled");
103 m_asyc_exec->execute();
104}
105
106void ModelMdl::wait() {
107 m_asyc_exec->wait();

Callers 4

run_sublineMethod · 0.45
dump_modelMethod · 0.45

Calls 1

executeMethod · 0.45

Tested by

no test coverage detected