TensorFlow 2.0 Beta is available Learn more

tf.contrib.data.TFRecordWriter

View source on GitHub

Class TFRecordWriter

Writes data to a TFRecord file.

Inherits From: TFRecordWriter

__init__

View source

__init__(
    filename,
    compression_type=None
)

DEPRECATED FUNCTION

Methods

write

View source

write(dataset)

Returns a tf.Operation to write a dataset to a file.

Args:

Returns:

A tf.Operation that, when run, writes contents of dataset to a file.