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

Function normalize_enum

imperative/python/src/ops.cpp:22–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21namespace {
22auto normalize_enum(const std::string& in) {
23 std::string ret;
24 for (auto&& c : in) {
25 ret += toupper(c);
26 }
27 return ret;
28}
29} // anonymous namespace
30
31#define CATCH_ALL(RETVAL) \

Callers 1

loadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected