Shortcuts

ModuleDict

class mmengine.model.ModuleDict(modules=None, init_cfg=None)[source]

ModuleDict in openmmlab.

Ensures that all modules in ModuleDict have a different initialization strategy than the outer model

Parameters
  • modules (dict, optional) – A mapping (dictionary) of (string: module) or an iterable of key-value pairs of type (string, module).

  • init_cfg (dict, optional) – Initialization config dict.

Read the Docs v: v0.4.0
Versions
latest
stable
v0.5.0
v0.4.0
v0.3.0
v0.2.0
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.