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

Method forward

lite/src/mge/network_impl.cpp:633–641  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

631}
632
633void NetworkImplDft::forward() {
634 start();
635 if (m_load_config.comp_graph &&
636 m_user_config->options.comp_node_seq_record_level == 2) {
637 m_load_config.comp_graph.reset();
638 }
639 LITE_ASSERT(m_execute_func, "forward must be called after network loaded.");
640 m_execute_func->execute();
641}
642
643void NetworkImplDft::wait() {
644 if (!m_async) {

Callers

nothing calls this directly

Calls 2

resetMethod · 0.45
executeMethod · 0.45

Tested by

no test coverage detected