MCPcopy Create free account
hub / github.com/OAID/Tengine / FindOpLoadMethod

Function FindOpLoadMethod

core/lib/serializer.cpp:51–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51bool FindOpLoadMethod(const std::string& op_name, const std::string& method_name)
52{
53 std::string key = op_name + method_name;
54
55 if(op_method_load_map.ExistAttr(key))
56 return true;
57
58 return false;
59}
60
61any& GetOpLoadMethod(const std::string& op_name, const std::string& method_name)
62{

Callers 7

LoadGraphMethod · 0.85
LoadGraphMethod · 0.85
LoadGraphMethod · 0.85
GenerateStaticGraphMethod · 0.85
LoadGraphMethod · 0.85
GenerateStaticGraphMethod · 0.85
LoadGraphMethod · 0.85

Calls 1

ExistAttrMethod · 0.45

Tested by

no test coverage detected