tf.compat.v1.IdentityReader

A Reader that outputs the queued work as both the key and value.

Inherits From: ReaderBase

To use, enqueue strings in a Queue. Read will take the front work string and output (work, work).

See ReaderBase for supported methods.

name A name for the operation (optional).

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.