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

Method add_receiver

src/plugin/impl/var_sanity_check.cpp:93–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93void VarSanityCheck::DebugLog::add_receiver(VarNode* var) {
94 if (static_cast<int>(var->id()) == m_var_id) {
95 mgb_assert(var == m_var);
96 ++m_readcnt_init;
97 }
98}
99
100void VarSanityCheck::DebugLog::on_var_produced(
101 VarSanityCheck* checker, VarNode* var, ChecksumResult checksum) {

Callers 1

setup_input_checkerMethod · 0.80

Calls 1

idMethod · 0.45

Tested by

no test coverage detected