code: def test_capture_constant(self):
      with ops.device("device:{}:0".format(self.device)):
          # Capture a constant
          outer_ct = [3.0]
          x = ops.convert_to_tensor(
              [2.0, 3.0, 4.0], dtype=dtypes.float32
          )
  
          @polymorphic_function.function(
              jit_compile=True, autograph=False
          )
          def fun_tf(x):
              return (
                  x * gen_array_ops.broadcast_to(outer_ct, x.shape)
                  + 1.0
              )
  
          self._compareTwoMethodsCompilerIROutput(fun_tf, [x], {})
  
imports: from tensorflow.compiler.tests import xla_test
  from tensorflow.python.eager.polymorphic_function import compiler_ir
  from tensorflow.python.eager.polymorphic_function import polymorphic_function
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gen_array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
  from tensorflow.python.util import nest
label_desc: Use image node_id 5 for calling the CompilerIrTest obj's underlying member method code with example usage: obj.test_capture_constant() and returns: unknown