ReaderRead


tensorflow C++ API

tensorflow::ops::ReaderRead

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:

Constructor

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

Public attributes

  • tensorflow::Output key.
  • tensorflow::Output value.

ReaderRead block

Source link : https://github.com/EXPNUNI/enuSpace-Tensorflow/blob/master/enuSpaceTensorflow/tf_io_ops.cpp

Argument:

  • Scope scope : A Scope object (A scope is generated automatically each page. A scope is not connected.)
  • Input reader_handle : connect Input node.
  • Input queue_handle : connect Input node.

Return:

  • Output reader_handle : Output object of ReaderRead class object.

Result:

  • std::vector(Tensor) product_result : Returned object of executed result by calling session.

Using Method

results matching ""

    No results matching ""