code: def test_constructor_tokenCountsDontSumToVocabSize_raisesValueError(
      self,
  ):
      vocab_dim = mtf.Dimension("vocab", 5)
      model_dim = mtf.Dimension("model", 2)
  
      with self.assertRaises(ValueError):
          vocab_embeddings.AdaptiveVocabEmbedding(
              self.mesh,
              vocab_dim,
              output_dim=model_dim,
              variable_dtype=self.variable_dtype,
              name="embedding",
              ensemble_dim=None,
              clusters=[
                  {"token_count": 3, "embedding_size": 2},
                  {"token_count": 3, "embedding_size": 1},
              ],
          )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import mesh_tensorflow
  from mesh_tensorflow.transformer import vocab_embeddings
  import mock
  import numpy
  import scipy.special
  import tensorflow.compat.v1
label_desc: Use image node_id 2 for calling the AdaptiveVocabEmbeddingTest obj's underlying member method code with example usage: obj.test_constructor_tokenCountsDontSumToVocabSize_raisesValueError() without return types