Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::FixedLengthRecordReader::Attrs
#include <io_ops.h>
Optional attribute setters for FixedLengthRecordReader.
Summary
Public functions
|
Container(StringPiece x)
|
If non-empty, this reader is placed in the given container.
|
Encoding(StringPiece x)
|
The type of encoding for the file.
|
FooterBytes(int64 x)
|
Number of bytes in the footer, defaults to 0.
|
HeaderBytes(int64 x)
|
Number of bytes in the header, defaults to 0.
|
HopBytes(int64 x)
|
Number of bytes to hop before each read.
|
SharedName(StringPiece x)
|
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
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 ""
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
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 ""
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2021-11-15 UTC.
[null,null,["Last updated 2021-11-15 UTC."],[],[],null,["# tensorflow::ops::FixedLengthRecordReader::Attrs Struct Reference\n\ntensorflow::ops::FixedLengthRecordReader::Attrs\n===============================================\n\n`#include \u003cio_ops.h\u003e`\n\nOptional attribute setters for [FixedLengthRecordReader](/api_docs/cc/class/tensorflow/ops/fixed-length-record-reader#classtensorflow_1_1ops_1_1_fixed_length_record_reader).\n\nSummary\n-------\n\n| ### Public attributes ||\n|-----------------------------------------------------------------------------------------------------------------------------|---------------|\n| [container_](#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs_1a0657b298254345be5b67fdad88a32e35)` = \"\"` | `StringPiece` |\n| [encoding_](#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs_1a422d7f1f8a73657a5d63e25e87062be8)` = \"\"` | `StringPiece` |\n| [footer_bytes_](#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs_1a7cee5510a829492d7b07dece49991893)` = 0` | `int64` |\n| [header_bytes_](#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs_1a041315cfde664ae5f14a26e052d6d417)` = 0` | `int64` |\n| [hop_bytes_](#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs_1a2bf775253bb84c14e436e27fafa23084)` = 0` | `int64` |\n| [shared_name_](#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs_1a10fc1d7e2719d8b7a41d96b46686a424)` = \"\"` | `StringPiece` |\n\n| ### Public functions ||\n|-------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Container](#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs_1a22600d0f671107ef5fbc1e18666d8480)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/api_docs/cc/struct/tensorflow/ops/fixed-length-record-reader/attrs#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs) If non-empty, this reader is placed in the given container. |\n| [Encoding](#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs_1af785de4403ea4c3b34bb82f550c9b60c)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/api_docs/cc/struct/tensorflow/ops/fixed-length-record-reader/attrs#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs) The type of encoding for the file. |\n| [FooterBytes](#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs_1a9030bf2debd8fa5c62d6aac115503305)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/api_docs/cc/struct/tensorflow/ops/fixed-length-record-reader/attrs#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs) Number of bytes in the footer, defaults to 0. |\n| [HeaderBytes](#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs_1aa57b6dea873494961b0eac36fcd2130a)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/api_docs/cc/struct/tensorflow/ops/fixed-length-record-reader/attrs#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs) Number of bytes in the header, defaults to 0. |\n| [HopBytes](#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs_1a447ee44de90ad69590bf0c3258c10836)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/api_docs/cc/struct/tensorflow/ops/fixed-length-record-reader/attrs#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs) Number of bytes to hop before each read. |\n| [SharedName](#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs_1a6c473ff11caf010e3c896ae1ae5b05f3)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/api_docs/cc/struct/tensorflow/ops/fixed-length-record-reader/attrs#structtensorflow_1_1ops_1_1_fixed_length_record_reader_1_1_attrs) If non-empty, this reader is named in the given bucket with this shared_name. |\n\nPublic attributes\n-----------------\n\n### container_\n\n```scdoc\nStringPiece tensorflow::ops::FixedLengthRecordReader::Attrs::container_ = \"\"\n``` \n\n### encoding_\n\n```scdoc\nStringPiece tensorflow::ops::FixedLengthRecordReader::Attrs::encoding_ = \"\"\n``` \n\n### footer_bytes_\n\n```scdoc\nint64 tensorflow::ops::FixedLengthRecordReader::Attrs::footer_bytes_ = 0\n``` \n\n### header_bytes_\n\n```scdoc\nint64 tensorflow::ops::FixedLengthRecordReader::Attrs::header_bytes_ = 0\n``` \n\n### hop_bytes_\n\n```scdoc\nint64 tensorflow::ops::FixedLengthRecordReader::Attrs::hop_bytes_ = 0\n``` \n\n### shared_name_\n\n```scdoc\nStringPiece tensorflow::ops::FixedLengthRecordReader::Attrs::shared_name_ = \"\"\n``` \n\nPublic functions\n----------------\n\n### Container\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::Container(\n StringPiece x\n)\n``` \nIf non-empty, this reader is placed in the given container.\n\nOtherwise, a default container is used.\n\nDefaults to \"\" \n\n### Encoding\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::Encoding(\n StringPiece x\n)\n``` \nThe type of encoding for the file.\n\nCurrently ZLIB and GZIP are supported. Defaults to none.\n\nDefaults to \"\" \n\n### FooterBytes\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::FooterBytes(\n int64 x\n)\n``` \nNumber of bytes in the footer, defaults to 0.\n\nDefaults to 0 \n\n### HeaderBytes\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::HeaderBytes(\n int64 x\n)\n``` \nNumber of bytes in the header, defaults to 0.\n\nDefaults to 0 \n\n### HopBytes\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::HopBytes(\n int64 x\n)\n``` \nNumber of bytes to hop before each read.\n\nDefault of 0 means using record_bytes.\n\nDefaults to 0 \n\n### SharedName\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FixedLengthRecordReader::Attrs::SharedName(\n StringPiece x\n)\n``` \nIf non-empty, this reader is named in the given bucket with this shared_name.\n\nOtherwise, the node name is used instead.\n\nDefaults to \"\""]]