Returns the next record (key, value pair) produced by a Reader.
tf.raw_ops.ReaderRead(
reader_handle, queue_handle, name=None
)
Will dequeue from the input 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 | |
|---|---|
reader_handle
|
A Tensor of type mutable string. Handle to a Reader.
|
queue_handle
|
A Tensor of type mutable string.
Handle to a Queue, with string work items.
|
name
|
A name for the operation (optional). |
Returns | |
|---|---|
A tuple of Tensor objects (key, value).
|
|
key
|
A Tensor of type string.
|
value
|
A Tensor of type string.
|