Link Search Menu Expand Document

TextLineReader


tensorflow C++ API

tensorflow::ops::TFRecordReader

A Reader that outputs the lines of a file delimited by ‘,’.


Summary

Arguments:

  • scope: A Scope object

Optional attributes (seeAttrs):

  • skip_header_lines: Number of lines to skip from the beginning of every file.
  • 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

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

Public attributes

  • tensorflow::Output reader_handle.

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

  • TextLineReader ::Attrs attrs : input option value. ex) container_ = ; shared_name_ = ; skip_header_lines_ = 0;

Return:

  • Output reader_handle : Output object of TextLineReader class object.

Result:

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

Using Method