MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / name_convert_to_camel

Function name_convert_to_camel

flow-python/megflow/func_op.py:13–17  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

11 self.__dict__.update(entries)
12
13def name_convert_to_camel(name):
14 contents = re.findall('_[a-z]+', name)
15 for content in set(contents):
16 name = name.replace(content, content[1:].title())
17 return name.title()
18
19
20def _with_context(func):

Callers 1

_decoratorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected