'Args:
dump_metadata(bool): Dump :class:`tf.RunMetadata` to be used with tfprof.
dump_tracing(bool): Dump chrome tracing files.
dump_event(bool): Dump to an event processed by FileWriter.'

def __init__(self, dump_metadata=False, dump_tracing=True, dump_event=False):

    self._dir = logger.LOG_DIR
    self._dump_meta = bool(dump_metadata)
    self._dump_tracing = bool(dump_tracing)
    self._dump_event = bool(dump_event)
    assert os.path.isdir(self._dir)
