code: def test_image_count_more_than_max_outputs(self):
      max_outputs = 3
      data = self._generate_images(n=(max_outputs + 1))
      pb = self.image("mona_lisa", data, max_outputs=max_outputs)
      self.assertEqual(1, len(pb.value))
      result = pb.value[0].tensor.string_val
      image_results = result[2:]  # skip width, height
      self.assertEqual(max_outputs, len(image_results))
  
imports: import glob
  import os
  import numpy
  import tensorflow
  from tensorboard.compat import tf2
  from tensorboard.compat.proto import summary_pb2
  from tensorboard.plugins.image import metadata
  from tensorboard.plugins.image import summary
label_desc: Use image node_id 11 for calling the SummaryBaseTest obj's underlying member method code with example usage: obj.test_image_count_more_than_max_outputs() without return types