#include <io_ops.h>
Optional attribute setters for FixedLengthRecordReader.
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. |
StringPiece tensorflow::ops::FixedLengthRecordReader::Attrs::container_ = ""
StringPiece tensorflow::ops::FixedLengthRecordReader::Attrs::encoding_ = ""
int64 tensorflow::ops::FixedLengthRecordReader::Attrs::footer_bytes_ = 0
int64 tensorflow::ops::FixedLengthRecordReader::Attrs::header_bytes_ = 0
int64 tensorflow::ops::FixedLengthRecordReader::Attrs::hop_bytes_ = 0
StringPiece tensorflow::ops::FixedLengthRecordReader::Attrs::shared_name_ = ""
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 ""
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 ""
TF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::FooterBytes( int64 x )
Number of bytes in the footer, defaults to 0.
Defaults to 0
TF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::HeaderBytes( int64 x )
Number of bytes in the header, defaults to 0.
Defaults to 0
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
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 ""
© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/struct/tensorflow/ops/fixed-length-record-reader/attrs.html