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

Function GetTypeName

include/type_name.hpp:73–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73static std::string GetTypeName(const char* name)
74{
75#if !defined(__GNUC__) || defined(NO_CXA_DEMANGLE)
76 return name;
77#else
78 std::unique_ptr<char, void (*)(void*)> own(abi::__cxa_demangle(name, nullptr, nullptr, nullptr), std::free);
79 std::string r = own.get();
80 return r;
81#endif
82}
83
84static inline void OutputTypeName(const char* name)
85{

Callers 3

OutputTypeNameFunction · 0.70
SaveTmTensorMethod · 0.50
mainFunction · 0.50

Calls 1

getMethod · 0.80

Tested by 1

mainFunction · 0.40