code: def _get_param_mapping(
      module: _torch.nn.Module,
      seen: _typing.List[_torch.Tensor],
      mapping: _typing.List[int],
  ) -> _typing.List[int]:
      for param in module._parameters.values():
          if param is None:
              continue
          found = _find_param_in_list(param, seen)
          if found is None:
              mapping.append(len(seen))
              seen.append(param)
          else:
              mapping.append(found)
  
      for name, child in module._modules.items():
          _ = _get_param_mapping(child, seen, mapping)
  
      return mapping
  
file_path: higher/higher/utils.py
imports: import torch
  import typing
label_desc: Use image node_id 6 for calling a global function with example usage: _get_param_mapping(module, seen, mapping) and returns: mapping