tensorflow::ops::TextLineReader

#include <io_ops.h>

A Reader that outputs the lines of a file delimited by '
'.

Summary

Arguments:

Optional attributes (see Attrs):

  • 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.
Constructors and Destructors
TextLineReader(const ::tensorflow::Scope & scope)
TextLineReader(const ::tensorflow::Scope & scope, const TextLineReader::Attrs & attrs)
Public attributes
operation
reader_handle
Public functions
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Public static functions
Container(StringPiece x)
SharedName(StringPiece x)
SkipHeaderLines(int64 x)
Structs
tensorflow::ops::TextLineReader::Attrs

Optional attribute setters for TextLineReader.

Public attributes

operation

Operation operation

reader_handle

::tensorflow::Output reader_handle

Public functions

TextLineReader

 TextLineReader(
  const ::tensorflow::Scope & scope
)

TextLineReader

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

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

operator::tensorflow::Input() const 

operator::tensorflow::Output

operator::tensorflow::Output() const 

Public static functions

Container

Attrs Container(
  StringPiece x
)

SharedName

Attrs SharedName(
  StringPiece x
)

SkipHeaderLines

Attrs SkipHeaderLines(
  int64 x
)

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/cc/class/tensorflow/ops/text-line-reader