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

Method current_comp_seq

src/core/impl/graph/cg_impl.h:239–241  ·  view source on GitHub ↗

! * \brief latest computing sequence from this graph * * Since new computing sequence would invalidate memory layout of older * ones and operators may have class-level states, only the last * computing sequence could be used * * \return current comp seq, or nullptr if no alive comp seq */

Source from the content-addressed store, hash-verified

237 * \return current comp seq, or nullptr if no alive comp seq
238 */
239 AsyncExecutable* current_comp_seq() override {
240 return static_cast<AsyncExecutable*>(m_current_comp_seq);
241 }
242
243 /*!
244 * \brief get current ExecEnv

Callers 6

on_var_producedMethod · 0.45
on_execMethod · 0.45
clear_device_memoryMethod · 0.45
reset_opr_seqMethod · 0.45
do_on_var_shapeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected