tf.raw_ops.ReaderRead

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

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.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/raw_ops/ReaderRead