code: def list_append(list_, x):
      """The list append function.
  
      Note: it is unspecified where list_ will be mutated or not. If list_ is
      a TensorFlow entity, it will not be typically mutated. If list_ is a plain
      list, it will be. In general, if the list is mutated then the return value
      should point to the original entity.
  
      Args:
        list_: An entity that supports append semantics.
        x: The element to append.
  
      Returns:
        Same as list_, after the append was performed.
  
      Raises:
        ValueError: if list_ is not of a known list-like type.
      """
      if hooks._DISPATCH.detect_overload_list_append(list_):
          return hooks._DISPATCH.list_append(list_, x)
      else:
          return _py_list_append(list_, x)
  
file_path: DALI/dali/python/nvidia/dali/_autograph/operators/data_structures.py
imports: import collections
  from nvidia.dali._autograph.utils import hooks
label_desc: Use image node_id 3 for calling a global function with example usage: list_append(list_, x) and returns: hooks, _py_list_append