code: def real_dtype(dtype):
      """Returns the dtype of the real part."""
      dtype = tf.as_dtype(dtype)
      if hasattr(dtype, "real_dtype"):
          return dtype.real_dtype
      # TODO(jvdillon): Find a better way.
      return np.array(0, as_numpy_dtype(dtype)).real.dtype
  
imports: import numpy
  import tensorflow.compat.v2
  from tensorflow.python.util import nest
label_desc: Use image node_id 16 for calling a global function with example usage: real_dtype(dtype) and returns: np, dtype