docstr: Verify processing of tf.summary.image.
code: def testTFSummaryImage(self):
      """Verify processing of tf.summary.image."""
      event_sink = _EventGenerator(self, zero_out_timestamps=True)
      with test_util.FileWriterCache.get(self.get_temp_dir()) as writer:
          writer.event_writer = event_sink
          with self.test_session() as sess:
              ipt = tf.ones([10, 4, 4, 3], tf.uint8)
              # This is an interesting example, because the old tf.image_summary op
              # would throw an error here, because it would be tag reuse.
              # Using the tf node name instead allows argument re-use to the image
              # summary.
              with tf.name_scope("1"):
                  tf.compat.v1.summary.image(
                      "images", ipt, max_outputs=1
                  )
              with tf.name_scope("2"):
                  tf.compat.v1.summary.image(
                      "images", ipt, max_outputs=2
                  )
              with tf.name_scope("3"):
                  tf.compat.v1.summary.image(
                      "images", ipt, max_outputs=3
                  )
              merged = tf.compat.v1.summary.merge_all()
              writer.add_graph(sess.graph)
              for i in range(10):
                  summ = sess.run(merged)
                  writer.add_summary(summ, global_step=i)
  
      accumulator = ea.EventAccumulator(event_sink)
      accumulator.Reload()
  
      tags = [
          "1/images/image",
          "2/images/image/0",
          "2/images/image/1",
          "3/images/image/0",
          "3/images/image/1",
          "3/images/image/2",
      ]
  
      self.assertTagsEqual(
          accumulator.Tags(),
          {
              ea.IMAGES: tags,
              ea.GRAPH: True,
              ea.META_GRAPH: False,
          },
      )
  
imports: import os
  import numpy
  import tensorflow
  from tensorboard.backend.event_processing import event_accumulator
  from tensorboard.compat.proto import config_pb2
  from tensorboard.compat.proto import event_pb2
  from tensorboard.compat.proto import graph_pb2
  from tensorboard.compat.proto import meta_graph_pb2
  from tensorboard.compat.proto import summary_pb2
  from tensorboard.plugins.distribution import compressor
  from tensorboard.util import tensor_util
  from tensorboard.util import test_util
  from tensorboard.util import tb_logging
label_desc: Use image node_id 25 for calling the MockingEventAccumulatorTest obj's underlying member method code with example usage: obj.testTFSummaryImage() without return types