code: def gpu_device_names():
      """
      :returns, list of gpu device name, num of gpus
      """
      devices = []
      for (
          x
      ) in (
          device_lib.list_local_devices()
      ):  # pylint: disable=invalid-name
          if x.device_type == "GPU":
              devices.append(tf.compat.as_text(x.name))
      return devices, len(devices)
  
imports: import os
  from absl import logging
  import numpy
  import delta.compat
  from tensorflow.python.client import device_lib
  from tensorflow.python.estimator.canned import metric_keys
  from tensorflow.python.util import nest
  from delta.utils.register import registers
label_desc: Use image node_id 8 for calling a global function with example usage: gpu_device_names() and returns: devices,  len