code: def __init__(self, method_name="runTest"):
      super(XlaDeviceGpuTest, self).__init__(method_name)
      context.context().enable_xla_devices()
  
file_path: tensorflow-upstream/tensorflow/compiler/tests/xla_device_gpu_test.py
imports: from tensorflow.python.client import session
  from tensorflow.python.eager import context
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 to create a new XlaDeviceGpuTest object from inherited base classes: test with example: obj = XlaDeviceGpuTest(method_name)