code: def real(val):
      """Returns the real part of the elements of the array.
  
      .. seealso:: :func:`numpy.real`
  
      """
      if fusion._is_fusing():
          return fusion._call_ufunc(_real_ufunc, val)
      if not isinstance(val, _core.ndarray):
          val = _core.array(val)
      return val.real
  
imports: from cupy import _core
  from cupy._core import fusion
label_desc: Use image node_id 2 for calling a global function with example usage: real(val) and returns: val, fusion