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

Method set_start_callback

lite/src/mge/network_impl.h:92–94  ·  view source on GitHub ↗

set the start callback which will execute before network forward

Source from the content-addressed store, hash-verified

90
91 //! set the start callback which will execute before network forward
92 void set_start_callback(const StartCallback& callback) override {
93 m_start_callback = std::move(callback);
94 }
95
96 //! set the finish callback which will execute after network forward
97 void set_finish_callback(const FinishCallback& callback) override {

Callers 5

set_input_callbackFunction · 0.45
TESTFunction · 0.45
network.cppFile · 0.45
LITE_set_start_callbackFunction · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36