tensorflow::ops::TextLineReader::Attrs

#include <io_ops.h>

Optional attribute setters for TextLineReader.

Summary

Public attributes
container_ = ""
StringPiece
shared_name_ = ""
StringPiece
skip_header_lines_ = 0
int64
Public functions
Container(StringPiece x)
TF_MUST_USE_RESULT Attrs
If non-empty, this reader is placed in the given container.
SharedName(StringPiece x)
TF_MUST_USE_RESULT Attrs
If non-empty, this reader is named in the given bucket with this shared_name.
SkipHeaderLines(int64 x)
TF_MUST_USE_RESULT Attrs
Number of lines to skip from the beginning of every file.

Public attributes

container_

StringPiece tensorflow::ops::TextLineReader::Attrs::container_ = ""

shared_name_

StringPiece tensorflow::ops::TextLineReader::Attrs::shared_name_ = ""

skip_header_lines_

int64 tensorflow::ops::TextLineReader::Attrs::skip_header_lines_ = 0

Public functions

Container

TF_MUST_USE_RESULT Attrs tensorflow::ops::TextLineReader::Attrs::Container(
  StringPiece x
)

If non-empty, this reader is placed in the given container.

Otherwise, a default container is used.

Defaults to ""

SharedName

TF_MUST_USE_RESULT Attrs tensorflow::ops::TextLineReader::Attrs::SharedName(
  StringPiece x
)

If non-empty, this reader is named in the given bucket with this shared_name.

Otherwise, the node name is used instead.

Defaults to ""

SkipHeaderLines

TF_MUST_USE_RESULT Attrs tensorflow::ops::TextLineReader::Attrs::SkipHeaderLines(
  int64 x
)

Number of lines to skip from the beginning of every file.

Defaults to 0

© 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/struct/tensorflow/ops/text-line-reader/attrs