code: def get_float_types():
      float_types = [dtypes.float16, dtypes.float32, dtypes.float64]
      if test_util.is_gpu_available(
          cuda_only=True, min_cuda_compute_capability=(8, 0)
      ):
          float_types += [dtypes.bfloat16]
      return float_types
  
imports: import numpy
  from tensorflow.python.eager import context
  from tensorflow.python.framework import config
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import random_seed
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gen_random_ops
  from tensorflow.python.ops import random_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling a global function with example usage: get_float_types() and returns: float_types