code: def _hide_packed_params_repr(self, params):
      # We don't want to show `PackedParams` children, hence custom
      # `__repr__`. This is the same as nn.Module.__repr__, except the check
      # for the `params module`.
      extra_lines = []
      extra_repr = self.extra_repr()
      # empty string will be split into list ['']
      if extra_repr:
          extra_lines = extra_repr.split("\n")
      child_lines = []
      for key, module in self._modules.items():
          if isinstance(module, params):
              continue
          mod_str = repr(module)
          mod_str = _addindent(mod_str, 2)
          child_lines.append("(" + key + "): " + mod_str)
      lines = extra_lines + child_lines
  
      main_str = self._get_name() + "("
      if lines:
          # simple one-liner info, which most builtin Modules will use
          if len(extra_lines) == 1 and not child_lines:
              main_str += extra_lines[0]
          else:
              main_str += "\n  " + "\n  ".join(lines) + "\n"
  
      main_str += ")"
      return main_str
  
file_path: pytorch/torch/ao/nn/quantized/modules/utils.py
imports: import abc
  import torch
  import itertools
  import collections
  from torch.nn.modules.module import _addindent
label_desc: Use image node_id 6 for calling a global function with example usage: _hide_packed_params_repr(params) and returns: main_str