code: def test_tables_with_same_name(self):
      with self.assertRaisesRegex(
          ValueError, "Multiple tables with name table found."
      ):
          with self._get_strategy().scope():
              tpu_embedding_v2.TPUEmbedding(
                  (
                      tpu_embedding_v2_utils.FeatureConfig(
                          table=tpu_embedding_v2_utils.TableConfig(
                              name="table",
                              vocabulary_size=4,
                              dim=2,
                              initializer=self.initializer,
                          ),
                          name="watched",
                      ),
                      tpu_embedding_v2_utils.FeatureConfig(
                          table=tpu_embedding_v2_utils.TableConfig(
                              name="table",
                              vocabulary_size=4,
                              dim=2,
                              initializer=self.initializer,
                          ),
                          name="favorited",
                      ),
                  ),
                  tpu_embedding_v2_utils.SGD(learning_rate=0.1),
              )
  
file_path: tensorflow/tensorflow/python/tpu/tests/tpu_embedding_v2_invalid_input_test.py
imports: from absl.testing import parameterized
  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 import config
  from tensorflow.python.platform import test
  from tensorflow.python.tpu import tpu_embedding_v2
  from tensorflow.python.tpu import tpu_embedding_v2_utils
  from tensorflow.python.tpu.tests import tpu_embedding_base_test
label_desc: Use image node_id 1 for calling the TPUEmbeddingTest obj's underlying member method code with example usage: obj.test_tables_with_same_name() without return types