class_docstr: Class that can add_events and then yield them back.
  
  Satisfies the EventGenerator API required for the EventAccumulator.
  Satisfies the EventWriter API required to create a tf.summary.FileWriter.
  
  Has additional convenience methods for adding test events.
class_docstr_tok: ["Class","that","can","add_events","and","then","yield","them","back",".","Satisfies","the","EventGenerator","API","required","for","the","EventAccumulator",".","Satisfies","the","EventWriter","API","required","to","create","a","tf.summary.FileWriter",".","Has","additional","convenience","methods","for","adding","test","events","."]
code: def Load(self):
      while self.items:
          yield self.items.pop(0)
  
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 2 for calling the _EventGenerator obj's underlying member method code with example usage: obj.Load() without return types