class_docstr: Generic module class that serves as base class for all PyText modules.
  
  Args:
      config (type): Module's `config` object. Specific contents of this object
          depends on the module. Defaults to None.
code: def __init__(self, config=None) -> None:
      nn.Module.__init__(self)
      Component.__init__(self, config)
  
file_path: pytext/pytext/models/module.py
imports: from typing import Dict
  import torch
  import torch.jit
  import torch.nn
  from pytext.config.component import Component, ComponentType, create_component
  from pytext.config.module_config import ModuleConfig
  from pytext.utils.file_io import PathManager
label_desc: Use image node_id 1 to create a new Module object from inherited base classes: nn, Component with example: obj = Module(config)