class_docstr: To help replace torch.nn modules with quantized versions.
  
  This module is used to replace (by monkey patching) the torch.nn modules with their
  quantized versions as provided by either tool's internal implementation or any other
  user provided custom module.
  
  Attributes:
      orginal_func_map: A dict. Maintains the original torch.nn module mapping.
      quant_support_list: A list. Contains the names of modules for which a quantized
          version is provided by the tool.
      quant_map: A dict. Contains the map of the module name and its quantized versions.
      quant_switch_opt: A dict. A map to indicate which modules to be left unreplaced with
          their quantized versions. This dict is updated by a list provided from the user
          which indicates the modules to leave out in monkey patching.
code: def __init__(self):
      # Will hold the original modules to be replaced back
      self.orginal_func_map = set()
  
      # Maintains the list of supported quantized modules by the tool as default
      self.default_quant_map = _DEFAULT_QUANT_MAP
  
      # Will hold the final quantized modules after checking if user supplied any
      # custom quantized functions.
      self.quant_map = set()
  
file_path: lightseq/lightseq/csrc/pytorch/pytorch_quantization/quant_modules.py
imports: from collections import namedtuple
  import torch
  from csrc.pytorch.pytorch_quantization import nn
label_desc: Use image node_id 1 to create a new QuantModuleReplacementHelper object  with example: obj = QuantModuleReplacementHelper()