description: An iterator that read the records from a TFRecords file. (deprecated)
tf.compat.v1.io.tf_record_iterator
An iterator that read the records from a TFRecords file. (deprecated)
View aliases
Compat aliases for migration
See
Migration guide for
more details.
tf.compat.v1.python_io.tf_record_iterator
tf.compat.v1.io.tf_record_iterator(
path, options=None
)
Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version.
Instructions for updating:
Use eager execution and:
tf.data.TFRecordDataset(path)
Args |
path
|
The path to the TFRecords file.
|
options
|
(optional) A TFRecordOptions object.
|
Returns |
An iterator of serialized TFRecords.
|
Raises |
IOError
|
If path cannot be opened for reading.
|