W3cubDocs

/TensorFlow C++

tensorflow::ops::ReaderRead

#include <io_ops.h>

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

Summary

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

Arguments:

  • scope: A Scope object
  • reader_handle: Handle to a Reader.
  • queue_handle: Handle to a Queue, with string work items.

Returns:

Constructors and Destructors
ReaderRead(const ::tensorflow::Scope & scope, ::tensorflow::Input reader_handle, ::tensorflow::Input queue_handle)
Public attributes
key
value

Public attributes

key

::tensorflow::Output key

value

::tensorflow::Output value

Public functions

ReaderRead

 ReaderRead(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input reader_handle,
  ::tensorflow::Input queue_handle
)

© 2018 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/api_docs/cc/class/tensorflow/ops/reader-read.html