Have a question? Connect with the community at the TensorFlow Forum Visit Forum

tensorflow:: ops:: FixedLengthRecordReader

#include <io_ops.h>

A Reader that outputs fixed-length records from a file.

Summary

Args:

  • scope: A Scope object
  • record_bytes: Number of bytes in the record.

Optional attributes (see Attrs ):

  • header_bytes: Number of bytes in the header, defaults to 0.
  • footer_bytes: Number of bytes in the footer, defaults to 0.
  • hop_bytes: Number of bytes to hop before each read. Default of 0 means using record_bytes.
  • 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.
  • encoding: The type of encoding for the file. Currently ZLIB and GZIP are supported. Defaults to none.

Returns:

  • Output : The handle to reference the Reader.

Constructors and Destructors

FixedLengthRecordReader (const :: tensorflow::Scope & scope, int64 record_bytes)
FixedLengthRecordReader (const :: tensorflow::Scope & scope, int64 record_bytes, const FixedLengthRecordReader::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)
Encoding (StringPiece x)
FooterBytes (int64 x)
HeaderBytes (int64 x)
HopBytes (int64 x)
SharedName (StringPiece x)

Structs

tensorflow:: ops:: FixedLengthRecordReader:: Attrs

Optional attribute setters for FixedLengthRecordReader .

Public attributes

operation

Operation operation

reader_handle

::tensorflow::Output reader_handle

Public functions

FixedLengthRecordReader

 FixedLengthRecordReader(
  const ::tensorflow::Scope & scope,
  int64 record_bytes
)

FixedLengthRecordReader

 FixedLengthRecordReader(
  const ::tensorflow::Scope & scope,
  int64 record_bytes,
  const FixedLengthRecordReader::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
)

Encoding

Attrs Encoding(
  StringPiece x
)

FooterBytes

Attrs FooterBytes(
  int64 x
)

HeaderBytes

Attrs HeaderBytes(
  int64 x
)

HopBytes

Attrs HopBytes(
  int64 x
)

SharedName

Attrs SharedName(
  StringPiece x
)