tensorflow::ops::FixedLengthRecordReader::Attrs

#include <io_ops.h>

Optional attribute setters for FixedLengthRecordReader.

Summary

Public attributes

container_ = ""
StringPiece
encoding_ = ""
StringPiece
footer_bytes_ = 0
int64
header_bytes_ = 0
int64
hop_bytes_ = 0
int64
shared_name_ = ""
StringPiece

Public functions

Container(StringPiece x)
TF_MUST_USE_RESULT Attrs
If non-empty, this reader is placed in the given container.
Encoding(StringPiece x)
TF_MUST_USE_RESULT Attrs
The type of encoding for the file.
FooterBytes(int64 x)
TF_MUST_USE_RESULT Attrs
Number of bytes in the footer, defaults to 0.
HeaderBytes(int64 x)
TF_MUST_USE_RESULT Attrs
Number of bytes in the header, defaults to 0.
HopBytes(int64 x)
TF_MUST_USE_RESULT Attrs
Number of bytes to hop before each read.
SharedName(StringPiece x)
TF_MUST_USE_RESULT Attrs
If non-empty, this reader is named in the given bucket with this shared_name.

Public attributes

container_

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

encoding_

StringPiece tensorflow::ops::FixedLengthRecordReader::Attrs::encoding_ = ""
int64 tensorflow::ops::FixedLengthRecordReader::Attrs::footer_bytes_ = 0

header_bytes_

int64 tensorflow::ops::FixedLengthRecordReader::Attrs::header_bytes_ = 0

hop_bytes_

int64 tensorflow::ops::FixedLengthRecordReader::Attrs::hop_bytes_ = 0

shared_name_

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

Public functions

Container

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

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

Otherwise, a default container is used.

Defaults to ""

Encoding

TF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::Encoding(
  StringPiece x
)

The type of encoding for the file.

Currently ZLIB and GZIP are supported. Defaults to none.

Defaults to ""

FooterBytes

TF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::FooterBytes(
  int64 x
)

Number of bytes in the footer, defaults to 0.

Defaults to 0

HeaderBytes

TF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::HeaderBytes(
  int64 x
)

Number of bytes in the header, defaults to 0.

Defaults to 0

HopBytes

TF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::HopBytes(
  int64 x
)

Number of bytes to hop before each read.

Default of 0 means using record_bytes.

Defaults to 0

SharedName

TF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::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 ""