code: def test_not_fully_defined_output_shapes_in_feature_config(self):
      _, mid_level_api, _ = self._create_strategy_and_mid_level("sgd")
  
      # Feature config sets undefined output shapes
      mid_level_api._output_shapes = [
          TensorShape(None) for _ in range(3)
      ]
      with self.assertRaisesRegex(ValueError, "Input Feature"):
          mid_level_api.build()
  
file_path: tensorflow-upstream/tensorflow/python/tpu/tests/tpu_embedding_v2_hd_invalid_input_test.py
imports: from tensorflow.python.compat import v2_compat
  from tensorflow.python.distribute import distribute_lib
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework.tensor_shape import TensorShape
  from tensorflow.python.platform import test
  from tensorflow.python.tpu.tests import tpu_embedding_base_test
label_desc: Use image node_id 3 for calling the TPUEmbeddingTest obj's underlying member method code with example usage: obj.test_not_fully_defined_output_shapes_in_feature_config() without return types