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

Method inst

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

Source from the content-addressed store, hash-verified

123}
124
125CustomOpDefFactory* CustomOpDefFactory::inst(void) {
126 static CustomOpDefFactory factory;
127 return &factory;
128}
129
130bool CustomOpDefFactory::is_custom_op(const OpDef& op) {
131 return op.dyn_typeinfo() == CustomOpDef::typeinfo();

Callers 15

castMethod · 0.45
castMethod · 0.45
implFunction · 0.45
implMethod · 0.45
implMethod · 0.45
implMethod · 0.45
implMethod · 0.45
impl_Method · 0.45
implMethod · 0.45
implMethod · 0.45
implMethod · 0.45
implMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected