Watch talks from the 2019 TensorFlow Dev Summit Watch now

tf.contrib.data.TFRecordWriter

Class TFRecordWriter

Inherits From: TFRecordWriter

Defined in tensorflow/contrib/data/python/ops/writers.py.

Writes data to a TFRecord file.

__init__

__init__(
    filename,
    compression_type=None
)

DEPRECATED FUNCTION

Methods

write

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.