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

Function make_name

imperative/src/impl/ops/custom_opdef.cpp:246–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244}
245
246std::string make_name(const OpDef& def) {
247 auto&& op = static_cast<const CustomOpDef&>(def);
248 return op.name();
249}
250
251OP_TRAIT_REG(CustomOpDef, CustomOpDef)
252 .apply_on_physical_tensor(apply_on_physical_tensor)

Callers

nothing calls this directly

Calls 1

nameMethod · 0.45

Tested by

no test coverage detected