tensorflow::ops::TFRecordReader::Attrs
bookmark_borderbookmark
Stay organized with collections
Save and categorize content based on your preferences.
#include <io_ops.h>
Optional attribute setters for TFRecordReader.
Summary
Public functions
|
CompressionType(StringPiece x)
|
Defaults to "".
|
Container(StringPiece x)
|
If non-empty, this reader is placed in the given container.
|
SharedName(StringPiece x)
|
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
)
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 ""
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-11-15 UTC."],[],[],null,["# tensorflow::ops::TFRecordReader::Attrs Struct Reference\n\ntensorflow::ops::TFRecordReader::Attrs\n======================================\n\n`#include \u003cio_ops.h\u003e`\n\nOptional attribute setters for [TFRecordReader](/api_docs/cc/class/tensorflow/ops/t-f-record-reader#classtensorflow_1_1ops_1_1_t_f_record_reader).\n\nSummary\n-------\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------------------------------------------------|---------------|\n| [compression_type_](#structtensorflow_1_1ops_1_1_t_f_record_reader_1_1_attrs_1ad6c6ece01cc56aec90b5ba9c42d58298)` = \"\"` | `StringPiece` |\n| [container_](#structtensorflow_1_1ops_1_1_t_f_record_reader_1_1_attrs_1adc96b2ba85da0541fcdd8c6f3c4d9454)` = \"\"` | `StringPiece` |\n| [shared_name_](#structtensorflow_1_1ops_1_1_t_f_record_reader_1_1_attrs_1a235d0767d86cca650601dd8f43cbc781)` = \"\"` | `StringPiece` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [CompressionType](#structtensorflow_1_1ops_1_1_t_f_record_reader_1_1_attrs_1abe93f0dd5de400c14a9a37903e1d0a1d)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/api_docs/cc/struct/tensorflow/ops/t-f-record-reader/attrs#structtensorflow_1_1ops_1_1_t_f_record_reader_1_1_attrs) Defaults to \"\". |\n| [Container](#structtensorflow_1_1ops_1_1_t_f_record_reader_1_1_attrs_1a4bc3d6ce12ffb32fb5af2979a3068e8f)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/api_docs/cc/struct/tensorflow/ops/t-f-record-reader/attrs#structtensorflow_1_1ops_1_1_t_f_record_reader_1_1_attrs) If non-empty, this reader is placed in the given container. |\n| [SharedName](#structtensorflow_1_1ops_1_1_t_f_record_reader_1_1_attrs_1a013eb774b98a875b83003b7fb716532c)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/api_docs/cc/struct/tensorflow/ops/t-f-record-reader/attrs#structtensorflow_1_1ops_1_1_t_f_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### compression_type_\n\n```carbon\nStringPiece tensorflow::ops::TFRecordReader::Attrs::compression_type_ = \"\"\n``` \n\n### container_\n\n```scdoc\nStringPiece tensorflow::ops::TFRecordReader::Attrs::container_ = \"\"\n``` \n\n### shared_name_\n\n```scdoc\nStringPiece tensorflow::ops::TFRecordReader::Attrs::shared_name_ = \"\"\n``` \n\nPublic functions\n----------------\n\n### CompressionType\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::TFRecordReader::Attrs::CompressionType(\n StringPiece x\n)\n``` \nDefaults to \"\". \n\n### Container\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::TFRecordReader::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### SharedName\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::TFRecordReader::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 \"\""]]