class_docstr: Writes `Event` protocol buffers to an event file. This class is ported from
  EventsWriter defined in
  https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/util/events_writer.cc
class_docstr_tok: ["Writes","`","Event","`","protocol","buffers","to","an","event","file",".","This","class","is","ported","from","EventsWriter","defined","in","https",":","\/\/github.com\/tensorflow\/tensorflow\/blob\/master\/tensorflow\/core\/util\/events_writer.cc"]
docstr: Initializes the events writer with file_suffix
docstr_tok: ["Initializes","the","events","writer","with","file_suffix"]
code: def init_with_suffix(self, file_suffix):
      """Initializes the events writer with file_suffix"""
      self._file_suffix = file_suffix
      self._init_if_needed()
  
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 4 for calling the EventsWriter obj's underlying member method code with example usage: obj.init_with_suffix(file_suffix) without return types