code: def test_prepare_batch(self):
      tokenizer = self.siglip_tokenizer
      src_text = [
          "A long paragraph for summarization.",
          "Another paragraph for summarization.",
      ]
      expected_src_tokens = [
          262,
          266,
          476,
          8532,
          270,
          4460,
          3949,
          1682,
          tokenizer.eos_token_id,
      ]
      batch = tokenizer(
          src_text, padding=True, return_tensors=FRAMEWORK
      )
      self.assertIsInstance(batch, BatchEncoding)
  
      if FRAMEWORK != "jax":
          result = list(batch.input_ids.numpy()[0])
      else:
          result = list(batch.input_ids.tolist()[0])
  
      self.assertListEqual(expected_src_tokens, result)
  
      self.assertEqual((2, 9), batch.input_ids.shape)
  
imports: import json
  import os
  import tempfile
  import unittest
  from transformers import SPIECE_UNDERLINE, AddedToken, BatchEncoding, SiglipTokenizer
  from transformers.testing_utils import get_tests_dir, require_sentencepiece, require_tokenizers, slow
  from transformers.utils import cached_property, is_tf_available, is_torch_available
  from ...test_tokenization_common import TokenizerTesterMixin
label_desc: Use image node_id 9 for calling the SiglipTokenizationTest obj's underlying member method code with example usage: obj.test_prepare_batch() without return types