code: def to_external_key(cls, key: str) -> Key:
      key = key.replace("#", ".")
  
      if (
          key[0] == "<"
          and key[-1] == ">"
          and key[1:-1] in cls.CLASS_ATTRS
      ):
          key = key[1:-1]
  
      if key[0] == "<" and key[-1] == ">" and "___" in key:
          key = tuple(key[1:-1].split("___"))
  
      return key
  
file_path: pytorch_geometric/torch_geometric/nn/parameter_dict.py
imports: from typing import Final, Iterable, Mapping, Optional, Set, Tuple, Union
  import torch
  from torch.nn import Parameter
label_desc: Use image node_id 3 for calling the ParameterDict obj's underlying member method code with example usage: obj.to_external_key(cls, key) and returns: key