Link Search Menu Expand Document

IdentityReader


tensorflow C++ API

tensorflow::ops::IdentityReader

A Reader that outputs the queued work as both the key and value.


Summary

To use, enqueue strings in a Queue. ReaderRead will take the front work string and output (work, work).

Arguments:

Optional attributes (seeAttrs):

  • container: If non-empty, this reader is placed in the given container. Otherwise, a default container is used.
  • shared_name: If non-empty, this reader is named in the given bucket with this shared_name. Otherwise, the node name is used instead.

Returns:

  • Output: The handle to reference the Reader.

Constructor

  • IdentityReader(const ::tensorflow::Scope & scope, const IdentityReader::Attrs & attrs) .

Public attributes

  • tensorflow::Output reader_handle.

IdentityReader 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.)
  • IdentityReader::Attrs attrs : input option value. ex) container_ = ““;shared_name_ = “”;;

Return:

  • Output reader_handle : Output object of IdentityReader class object.

Result:

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

Using Method