WholeFileReader


tensorflow C++ API

tensorflow::ops::WholeFileReader

A Reader that outputs the entire contents of a file as a value.


Summary

To use, enqueue filenames in a Queue. The output of ReaderRead will be a filename (key) and the contents of that file (value).

Arguments:

  • scope: A Scope object

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

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

Public attributes

  • tensorflow::Output reader_handle.

WholeFileReader 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.)

  • WholeFileReader::Attrs attrs : input option value. ex) container_ = ; shared_name_ = ;

Return:

  • Output reader_handle : Output object of WholeFileReader class object.

Result:

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

Using Method

results matching ""

    No results matching ""