code: def test_inconsistent_creation_args(self):
      with self.assertRaisesRegex(
          ValueError, "supplied but the `vocab_size`"
      ):
          embed.Embed(embedding_matrix=_EMBEDDING_MATRIX, vocab_size=4)
      with self.assertRaisesRegex(
          ValueError, "supplied but the `embed_dim`"
      ):
          embed.Embed(embedding_matrix=_EMBEDDING_MATRIX, embed_dim=5)
  
file_path: dm-haiku/haiku/_src/embed_test.py
imports: import itertools
  from absl.testing import absltest
  from absl.testing import parameterized
  from haiku._src import embed
  from haiku._src import test_utils
  import jax.numpy
  import numpy
label_desc: Use image node_id 4 for calling the EmbedTest obj's underlying member method code with example usage: obj.test_inconsistent_creation_args() without return types