MCPcopy Create free account
hub / github.com/open-mmlab/mmengine / __init__

Method __init__

mmengine/model/base_module.py:200–202  ·  view source on GitHub ↗
(self, *args, init_cfg: Optional[dict] = None)

Source from the content-addressed store, hash-verified

198 """
199
200 def __init__(self, *args, init_cfg: Optional[dict] = None):
201 BaseModule.__init__(self, init_cfg)
202 nn.Sequential.__init__(self, *args)
203
204
205class ModuleList(BaseModule, nn.ModuleList):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected