code: def split_types_repr(types_repr: str) -> List[str]:
      out = []
      i = depth = 0
      for j, char in enumerate(types_repr):
          if char == "[":
              depth += 1
          elif char == "]":
              depth -= 1
          elif char == "," and depth == 0:
              out.append(types_repr[i:j].strip())
              i = j + 1
      out.append(types_repr[i:].strip())
      return out
  
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 1 for calling a global function with example usage: split_types_repr(types_repr) and returns: out