# tf.raw_ops.ReaderRead

<br />

Returns the next record (key, value pair) produced by a Reader.

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.raw_ops.ReaderRead`](https://www.tensorflow.org/api_docs/python/tf/raw_ops/ReaderRead)

<br />

    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).

<br />

<br />

<br />

| ## 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). |

<br />

<br />

| ## Returns ||
|---|---|
| A tuple of `Tensor` objects (key, value). ||
| `key` | A `Tensor` of type `string`. |
| `value` | A `Tensor` of type `string`. |

<br />