code: def get_gpus():
      gpus = context.context().list_logical_devices("GPU")
      actual_gpus = []
      for gpu in gpus:
          if "job" in gpu.name:
              actual_gpus.append(gpu.name)
      return actual_gpus
  
file_path: tensorflow/tensorflow/python/distribute/remote_mirrored_strategy_eager_test.py
imports: from tensorflow.python.distribute import combinations
  from tensorflow.python.distribute import mirrored_strategy
  from tensorflow.python.distribute import multi_worker_test_base
  from tensorflow.python.distribute import strategy_test_lib
  from tensorflow.python.eager import context
  from tensorflow.python.eager import test
label_desc: Use image node_id 1 for calling a global function with example usage: get_gpus() and returns: actual_gpus