code: def convert_subscripts(
      old_sub: List[Any], symbol_map: Dict[Any, Any]
  ) -> str:
      """Convert user custom subscripts list to subscript string according to
      `symbol_map`.
  
      Examples
      --------
      >>>  oe.parser.convert_subscripts(['abc', 'def'], {'abc':'a', 'def':'b'})
      'ab'
      >>> oe.parser.convert_subscripts([Ellipsis, object], {object:'a'})
      '...a'
      """
      return "".join(
          "..." if s is Ellipsis else symbol_map[s] for s in old_sub
      )
  
file_path: ivy/ivy/utils/einsum_parser.py
imports: import itertools
  from typing import Any, Dict, Iterator, List, Tuple, Union
  import numpy
label_desc: Use image node_id 8 for calling a global function with example usage: convert_subscripts(old_sub, symbol_map) and returns: str