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

Function make_name

imperative/src/impl/ops/utility.cpp:218–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218auto make_name(const OpDef& def) {
219 auto& op = def.cast_final_safe<ShapeInfer>();
220 MGB_MARK_USED_VAR(op);
221 return ssprintf("ShapeInfer[%s]", op.op->make_name().c_str());
222}
223
224auto hash(const OpDef& def) {
225 auto& op = def.cast_final_safe<ShapeInfer>();

Callers

nothing calls this directly

Calls 2

make_nameMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected