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

Method __init__

imperative/python/megengine/traced_module/expr.py:107–110  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

105 __total_id = 0
106
107 def __init__(self) -> None:
108 self._id = Expr.__total_id
109 Expr.__total_id += 1
110 self._disable_remove = False
111
112 def enable_remove(self):
113 self._disable_remove = False

Callers 6

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected