tf.compat.v1.FixedLengthRecordReader

A Reader that outputs fixed-length records from a file.

Inherits From: ReaderBase

See ReaderBase for supported methods.

record_bytes An int.
header_bytes An optional int. Defaults to 0.
footer_bytes An optional int. Defaults to 0.
hop_bytes An optional int. Defaults to 0.
name A name for the operation (optional).
encoding The type of encoding for the file. Defaults to none.

Eager Compatibility

Readers are not compatible with eager execution. Instead, please use tf.data to get data into your model.

reader_ref Op that implements the reader.
supports_serialize Whether the Reader implementation can serialize its state.

Methods

num_records_produced

View source

Returns the number of records this reader has produced.

This is the same as the number of Read executions that have succeeded.

Args
name A name for the operation (optional).

Returns
An int64 Tensor.

num_work_units_completed

View source

Returns the number of work units this reader has finished processing.