code: def local_devices_from_num_gpus(num_gpus):
      """Returns device strings for local GPUs or CPU."""
      return tuple("/device:GPU:%d" % i for i in range(num_gpus)) or (
          "/device:CPU:0",
      )
  
file_path: tensorflow-upstream/tensorflow/python/distribute/device_util.py
imports: from tensorflow.python.eager import context
  from tensorflow.python.framework import config
  from tensorflow.python.framework import device
  from tensorflow.python.framework import ops
label_desc: Use image node_id 6 for calling a global function with example usage: local_devices_from_num_gpus(num_gpus) and returns: unknown