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

Method id_str

src/core/impl/graph/var_node.cpp:173–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171#endif
172
173std::string MemAllocPlan::Chunk::id_str() const {
174 return "chk" + std::to_string(owner_var->id());
175}
176
177/* ===================== MemAllocPlan::Chunk ===================== */
178#if MGB_ENABLE_JSON

Callers 8

compile_and_runFunction · 0.45
get_opr_fp_graph_execMethod · 0.45
to_jsonMethod · 0.45
to_jsonMethod · 0.45
to_jsonMethod · 0.45
to_jsonMethod · 0.45
to_jsonMethod · 0.45

Calls 2

to_stringFunction · 0.85
idMethod · 0.45

Tested by 1

compile_and_runFunction · 0.36