code: def _result_type(*arrays_and_dtypes):
      """Returns the resulting type given a set of arrays."""
  
      def preprocess_float(x):
          if is_prefer_float32():
              if isinstance(x, float):
                  return np.float32(x)
              elif isinstance(x, complex):
                  return np.complex64(x)
          return x
  
      arrays_and_dtypes = [
          preprocess_float(x) for x in arrays_and_dtypes
      ]
      dtype = np.result_type(*arrays_and_dtypes)
      return dtypes.as_dtype(canonicalize_dtype(dtype))
  
file_path: tensorflow-upstream/tensorflow/python/ops/numpy_ops/np_dtypes.py
imports: import numpy
  from tensorflow.python.framework import dtypes
  from tensorflow.python.util import tf_export
label_desc: Use image node_id 6 for calling a global function with example usage: _result_type() and returns: dtypes, x, np, np