Contents:
Bases: torch.nn.modules.container.ModuleDict
torch.nn.modules.container.ModuleDict
Torch ModuleDict with freeze capabilities.
freeze (Optional[List[str]]) – list of names of the parameter’s to freeze.
unfreeze (Optional[List[str]]) – list of names of the parameter’s to unfreeze.
**kwargs – ModuleDict arguments.
FreezeError – both freeze and unfreeze can’t be set simultaneously.