class_docstr: This class is adapted from EventFileWriter in Tensorflow:
  https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/summary/writer/event_file_writer.py
  Writes `Event` protocol buffers to an event file.
  The `EventFileWriter` class creates an event file in the specified directory,
  and asynchronously writes Event protocol buffers to the file. The Event file
  is encoded using the tfrecord format, which is similar to RecordIO.
class_docstr_tok: ["This","class","is","adapted","from","EventFileWriter","in","Tensorflow",":","https",":","\/\/github.com\/tensorflow\/tensorflow\/blob\/master\/tensorflow\/python\/summary\/writer\/event_file_writer.py","Writes","`","Event","`","protocol","buffers","to","an","event","file",".","The","`","EventFileWriter","`","class","creates","an","event","file","in","the","specified","directory",",","and","asynchronously","writes","Event","protocol","buffers","to","the","file",".","The","Event","file","is","encoded","using","the","tfrecord","format",",","which","is","similar","to","RecordIO","."]
docstr: Reopens the EventFileWriter.
  Can be called after `close()` to add more events in the same directory.
  The events will go into a new events file.
  Does nothing if the `EventFileWriter` was not closed.
docstr_tok: ["Reopens","the","EventFileWriter",".","Can","be","called","after","`","close","(",")","`","to","add","more","events","in","the","same","directory",".","The","events","will","go","into","a","new","events","file",".","Does","nothing","if","the","`","EventFileWriter","`","was","not","closed","."]
code: def reopen(self):
      """Reopens the EventFileWriter.
      Can be called after `close()` to add more events in the same directory.
      The events will go into a new events file.
      Does nothing if the `EventFileWriter` was not closed.
      """
      if self._closed:
          self._worker = _EventLoggerThread(
              self._event_queue,
              self._ev_writer,
              self._flush_secs,
              self._sentinel_event,
          )
          self._worker.start()
          self._closed = False
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import logging
  import os.path
  import socket
  import threading
  import time
  import six
  from .proto import event_pb2
  from .record_writer import RecordWriter
label_desc: Use image node_id 3 for calling the EventFileWriter obj's underlying member method code with example usage: obj.reopen() without return types