class_docstr: Outputs summary data by writing event files to a log directory.
  
  TODO(#4581): This API should be considered EXPERIMENTAL and subject to
  backwards-incompatible changes without notice.
docstr: Creates a `DirectoryOutput` for the given path.
docstr_tok: ["Creates","a","`","DirectoryOutput","`","for","the","given","path","."]
code: def __init__(self, path):
      """Creates a `DirectoryOutput` for the given path."""
      self._ev_writer = event_file_writer.EventFileWriter(path)
  
file_path: tensorboard/tensorboard/summary/_output.py
imports: from tensorboard.compat.proto import event_pb2
  from tensorboard.compat.proto import summary_pb2
  from tensorboard.summary.writer import event_file_writer
  from tensorboard.util import tensor_util
  import abc
label_desc: Use image node_id 1 to create a new DirectoryOutput object from inherited base classes: Output with example: obj = DirectoryOutput(path)