code: def _check_embedding_size(
      self, result, quantize, expected_embedding_size
  ):
      # Check embedding size.
      self.assertLen(result.embeddings, 1)
      embedding_result = result.embeddings[0]
      self.assertLen(
          embedding_result.embedding, expected_embedding_size
      )
      if quantize:
          self.assertEqual(embedding_result.embedding.dtype, np.uint8)
      else:
          self.assertEqual(embedding_result.embedding.dtype, float)
  
imports: import enum
  import os
  from unittest import mock
  from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  from mediapipe.python._framework_bindings import image
  from mediapipe.tasks.python.components.containers import embedding_result
  from mediapipe.tasks.python.components.containers import rect
  from mediapipe.tasks.python.core import base_options
  from mediapipe.tasks.python.test import test_utils
  from mediapipe.tasks.python.vision import image_embedder
  from mediapipe.tasks.python.vision.core import image_processing_options
  from mediapipe.tasks.python.vision.core import vision_task_running_mode
label_desc: Use image node_id 7 for calling the ImageEmbedderTest obj's underlying member method code with example usage: obj._check_embedding_size(result, quantize, expected_embedding_size) without return types