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

Method __new__

imperative/python/megengine/jit/tracing.py:122–125  ·  view source on GitHub ↗
(cls, *args, **kwargs)

Source from the content-addressed store, hash-verified

120 third_party_backend = False
121
122 def __new__(cls, *args, **kwargs):
123 if not args:
124 return functools.partial(cls, **kwargs)
125 return super().__new__(cls)
126
127 def __init__(
128 self,

Callers 10

__copy__Method · 0.45
__deepcopy__Method · 0.45
__copy__Method · 0.45
__deepcopy__Method · 0.45
qparams_unflattenFunction · 0.45
to_moduleMethod · 0.45
__copy__Method · 0.45
__deepcopy__Method · 0.45
__copy__Method · 0.45
__deepcopy__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected