tf.io.tf_record_iterator

An iterator that read the records from a TFRecords file. (deprecated)

Main aliases

`tf.python_io.tf_record_iterator`

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.io.tf_record_iterator, tf.compat.v1.python_io.tf_record_iterator

path The path to the TFRecords file.
options (optional) A TFRecordOptions object.

Yields:

Strings.

IOError If path cannot be opened for reading.