tf.IdentityReader.read(queue, name=None)
Returns the next record (key, value pair) produced by a reader.
Will dequeue a work unit from queue if necessary (e.g. when the Reader needs to start reading from a new file since it has finished with the previous file).
Args:
-
queue
: A Queue or a mutable string Tensor representing a handle to a Queue, with string work items. -
name
: A name for the operation (optional).
Returns:
A tuple of Tensors (key, value).
-
key
: A string scalar Tensor. -
value
: A string scalar Tensor.
Please login to continue.