| 281 | } |
| 282 | |
| 283 | void 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 | |
| 298 | void ComputingGraphImpl::ComputingSequence::preprocess(ExecContext* ctx) { |
| 299 | assert_latest_comp_seq(); |