code: def test_unsupported_dynamic_input(self):
      with ops.device("device:{}:0".format(self.device)):
  
          @polymorphic_function.function(jit_compile=True)
          def f(x):
              return x
  
          with self.assertRaisesRegex(
              ValueError, "Only support static input shape but got"
          ):
              args_spec = [
                  tensor.TensorSpec((None), dtype=dtypes.float32)
              ]
              concrete_fn = f.get_concrete_function(*args_spec)
              _ = compiler_ir.from_concrete_function(concrete_fn)(
                  stage="hlo"
              )
  
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 6 for calling the CompilerIrTest obj's underlying member method code with example usage: obj.test_unsupported_dynamic_input() and returns: x