code: def return_type_repr(signature) -> str:
      return_type = signature.return_annotation
      if return_type is inspect.Parameter.empty:
          return "torch.Tensor"
      elif str(return_type)[:6] != "<class":
          return sanitize(str(return_type))
      elif return_type.__module__ == "builtins":
          return return_type.__name__
      else:
          return f"{return_type.__module__}.{return_type.__name__}"
  
file_path: AutoGL/autogl/module/nas/space/gasso_space/utils/typing.py
imports: import re
  import inspect
  import pyparsing
  from itertools import product
  from collections import OrderedDict
  from typing import Callable, Tuple, Dict, List
label_desc: Use image node_id 4 for calling a global function with example usage: return_type_repr(signature) and returns: str, sanitize, return_type, return_type, str, return_type