ReaderRead

public final class 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).

Constants

String OP_NAME The name of this op, as known by TensorFlow core engine

Public Methods

static ReaderRead
create(Scope scope, Operand<?> readerHandle, Operand<?> queueHandle)
Factory method to create a class wrapping a new ReaderRead operation.
Output<TString>
key()
A scalar.
Output<TString>
value()
A scalar.

Inherited Methods

Constants

public static final String OP_NAME

The name of this op, as known by TensorFlow core engine

Constant Value: "ReaderReadV2"

Public Methods

public static ReaderRead create (Scope scope, Operand<?> readerHandle, Operand<?> queueHandle)

Factory method to create a class wrapping a new ReaderRead operation.

Parameters
scope current scope
readerHandle Handle to a Reader.
queueHandle Handle to a Queue, with string work items.
Returns
  • a new instance of ReaderRead

public Output<TString> key ()

A scalar.

public Output<TString> value ()

A scalar.