code: def canonicalize_dtype(dtype):
      if not _allow_float64:
          try:
              return _to_float32[dtype]
          except KeyError:
              pass
      return dtype
  
file_path: tensorflow/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 5 for calling a global function with example usage: canonicalize_dtype(dtype) and returns: dtype, _to_float32