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
tf.contrib.data.TFRecordWriter.write
write(dataset)
Returns a tf.Operation
to write a dataset to a file.
Args:
dataset
: atf.data.Dataset
whose elements are to be written to a file
Returns:
A tf.Operation
that, when run, writes contents of dataset
to a file.