Class/Object

org.platanios.tensorflow.api.io.events

EventFileWriter

Related Docs: object EventFileWriter | package events

Permalink

class EventFileWriter extends AnyRef

Writes Event protocol buffers to files.

The EventFileWriter class creates an event file in the specified directory and asynchronously writes Event protocol buffers to it. The file is encoded using the TFRecord format, which is similar to RecordIO.

On construction the event file writer creates a new event file in workingDir. This event file will contain Event protocol buffers, which are written to disk via the EventFileWriter.write() method.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EventFileWriter
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def close(): Unit

    Permalink

    Calls flush() and then closes the current event file.

  7. def closed: Boolean

    Permalink

    Returns true if this event file writer has been closed.

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. val filenameSuffix: String

    Permalink

    Filename suffix to use for the event file.

  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def flush(): Unit

    Permalink

    Pushes outstanding events to disk.

  13. val flushFrequency: Int

    Permalink

    Specifies how often to flush the written events to disk (in seconds).

  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. val queueCapacity: Int

    Permalink

    Maximum number of events pending to be written to disk before a call to write() blocks.

  21. def reopen(): Unit

    Permalink

    Reopens this event file writer.

  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. val workingDir: Path

    Permalink

    Directory in which to write the event file.

  28. def write(event: Event): Unit

    Permalink

    Writes the provided event to the event file.

Inherited from AnyRef

Inherited from Any

Ungrouped