tensorflow::ops::TFRecordReader::Attrs

#include <io_ops.h>

Optional attribute setters for TFRecordReader.

Summary

Public attributes

compression_type_ = ""
StringPiece
container_ = ""
StringPiece
shared_name_ = ""
StringPiece

Public functions

CompressionType(StringPiece x)
TF_MUST_USE_RESULT Attrs
Defaults to "".
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.

Public attributes

compression_type_

StringPiece tensorflow::ops::TFRecordReader::Attrs::compression_type_ = ""

container_

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

shared_name_

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

Public functions

CompressionType

TF_MUST_USE_RESULT Attrs tensorflow::ops::TFRecordReader::Attrs::CompressionType(
  StringPiece x
)

Defaults to "".

Container

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