code: def test_model_batched_gen(self):
      # tests if the model outputs the same generation for the same batched input
      input_sentences = [
          "Hello there is this string is definitely longer I believe that",
          "Hello there is this string is definitely longer I believe that",
      ]
      inputs = self.tokenizer(
          input_sentences,
          return_tensors="np",
          padding=True,
          truncation=True,
      )
      sequences_fx = self.model.generate(
          **inputs, max_length=20
      ).sequences
      self.assertEqual(
          sequences_fx[0].tolist(), sequences_fx[1].tolist()
      )
  
imports: import unittest
  import numpy
  from transformers import BloomConfig, BloomTokenizerFast, is_flax_available
  from transformers.testing_utils import require_flax, slow
  from ...generation.test_flax_utils import FlaxGenerationTesterMixin
  from ...test_modeling_flax_common import FlaxModelTesterMixin, ids_tensor
label_desc: Use image node_id 2 for calling the FlaxBloomGenerationTest obj's underlying member method code with example usage: obj.test_model_batched_gen() without return types