tensorflow:: ops:: ReaderReadUpTo

#include <io_ops.h>

Returns up to num_records (key, value) pairs 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). It may return less than num_records even before the last batch.

Args:

  • scope: A Scope object
  • reader_handle: Handle to a Reader .
  • queue_handle: Handle to a Queue , with string work items.
  • num_records: number of records to read from 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
operation
values

Public attributes

keys

::tensorflow::Output keys

operation

Operation operation

values

::tensorflow::Output values

Public functions

ReaderReadUpTo

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