#include <io_ops.h>
Returns up to num_records
(key, value) pairs 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). It may return less than num_records
even before the last batch.
Arguments:
Reader
.Queue
, with string work items.Reader
.Returns:
Constructors and Destructors | |
---|---|
ReaderReadUpTo(const ::tensorflow::Scope & scope, ::tensorflow::Input reader_handle, ::tensorflow::Input queue_handle, ::tensorflow::Input num_records) |
Public attributes | |
---|---|
keys | |
values |
::tensorflow::Output keys
::tensorflow::Output values
ReaderReadUpTo( const ::tensorflow::Scope & scope, ::tensorflow::Input reader_handle, ::tensorflow::Input queue_handle, ::tensorflow::Input num_records )
© 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-up-to.html