code: def testGetCompilerIrOnGpuPlatformOptimizedHlo(self, stage):
      @def_function.function(jit_compile=True)
      def test_func(x):
          return 2.0 * x
  
      a = constant_op.constant(1.0)
      with self.assertRaisesRegex(
          ValueError,
          "GetCompilerIr with requested stage is not supported on this device",
      ):
          _ = test_func.experimental_get_compiler_ir(a)(
              stage=stage, platform_name="GPU"
          )
  
file_path: tensorflow/tensorflow/python/eager/context_cross_platform_tpu_test.py
imports: from absl.testing import parameterized
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the ContextCrossPlatformTpuTest obj's underlying member method code with example usage: obj.testGetCompilerIrOnGpuPlatformOptimizedHlo(stage) and returns: unknown