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

Method do_execute

src/core/impl/graph/cg_impl_seq.cpp:283–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281}
282
283void ComputingGraphImpl::ComputingSequence::do_execute(MegDNNDtorCheck* dtor_check) {
284 ExecContext exec_ctx{this};
285
286 if (dtor_check) {
287 dtor_check->enable();
288 }
289
290 exec_ctx.perform(&m_exec_env);
291#ifndef __IN_TEE_ENV__
292#if MGB_ENABLE_JSON
293 do_regist();
294#endif
295#endif
296}
297
298void ComputingGraphImpl::ComputingSequence::preprocess(ExecContext* ctx) {
299 assert_latest_comp_seq();

Callers

nothing calls this directly

Calls 2

enableMethod · 0.45
performMethod · 0.45

Tested by

no test coverage detected