Link Search Menu Expand Document

ReadFile


tensorflow C++ API

tensorflow::ops::ReadFile

Reads and outputs the entire contents of the input filename.


Summary

Arguments:

Returns:

Constructor

  • ReadFile(const ::tensorflow::Scope & scope, ::tensorflow::Input filename).

Public attributes

  • tensorflow::Output contents.

ReadFile block

Source link : https://github.com/EXPNUNI/enuSpaceTensorflow/blob/master/enuSpaceTensorflow/tf_i_o__ops.cpp

Argument:

  • Scope scope : A Scope object (A scope is generated automatically each page. A scope is not connected.)
  • Input filename : input filename with path.

Return:

  • Output contents : Output object of ReadFile class object. Output datatype is std::string.

Result:

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

Using Method