コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
テンソルフロー::作戦::テキストラインリーダー::属性
#include <io_ops.h>
TextLineReaderのオプションの属性セッター。
まとめ
公共機能 |
---|
Container (StringPiece x) | 空でない場合、このリーダーは指定されたコンテナーに配置されます。 |
SharedName (StringPiece x) | 空でない場合、このリーダーは指定されたバケット内でこのshared_nameで名前が付けられます。 |
SkipHeaderLines (int64 x) | 各ファイルの先頭からスキップする行数。 |
パブリック属性
容器_
StringPiece tensorflow::ops::TextLineReader::Attrs::container_ = ""
共有名_
StringPiece tensorflow::ops::TextLineReader::Attrs::shared_name_ = ""
int64 tensorflow::ops::TextLineReader::Attrs::skip_header_lines_ = 0
公共機能
容器
TF_MUST_USE_RESULT Attrs tensorflow::ops::TextLineReader::Attrs::Container(
StringPiece x
)
空でない場合、このリーダーは指定されたコンテナーに配置されます。
それ以外の場合は、デフォルトのコンテナが使用されます。
デフォルトは「」です
共有名
TF_MUST_USE_RESULT Attrs tensorflow::ops::TextLineReader::Attrs::SharedName(
StringPiece x
)
空でない場合、このリーダーは指定されたバケット内でこのshared_nameで名前が付けられます。
それ以外の場合は、代わりにノード名が使用されます。
デフォルトは「」です
TF_MUST_USE_RESULT Attrs tensorflow::ops::TextLineReader::Attrs::SkipHeaderLines(
int64 x
)
各ファイルの先頭からスキップする行数。
デフォルトは 0
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[],[],null,["# tensorflow::ops::TextLineReader::Attrs Struct Reference\n\ntensorflow::ops::TextLineReader::Attrs\n======================================\n\n`#include \u003cio_ops.h\u003e`\n\nOptional attribute setters for [TextLineReader](/versions/r2.1/api_docs/cc/class/tensorflow/ops/text-line-reader#classtensorflow_1_1ops_1_1_text_line_reader).\n\nSummary\n-------\n\n| ### Public attributes ||\n|------------------------------------------------------------------------------------------------------------------------|---------------|\n| [container_](#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs_1ae411d4625bdf3551cd6694b912bef305)` = \"\"` | `StringPiece` |\n| [shared_name_](#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs_1a48a16fb510135a90b7f85fdddd1271d7)` = \"\"` | `StringPiece` |\n| [skip_header_lines_](#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs_1ae4709b84c31004cd869b2cd4a1bfa4a1)` = 0` | `int64` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Container](#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs_1a9ecabd53959b0e6b753c7743cf87f7da)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/text-line-reader/attrs#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs) If non-empty, this reader is placed in the given container. |\n| [SharedName](#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs_1a28c661e5d45fb89382b6146043653792)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/text-line-reader/attrs#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs) If non-empty, this reader is named in the given bucket with this shared_name. |\n| [SkipHeaderLines](#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs_1a2ccb0c50743b51e0fde36f1df23f2550)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/text-line-reader/attrs#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs) Number of lines to skip from the beginning of every file. |\n\nPublic attributes\n-----------------\n\n### container_\n\n```scdoc\nStringPiece tensorflow::ops::TextLineReader::Attrs::container_ = \"\"\n``` \n\n### shared_name_\n\n```scdoc\nStringPiece tensorflow::ops::TextLineReader::Attrs::shared_name_ = \"\"\n``` \n\n### skip_header_lines_\n\n```scdoc\nint64 tensorflow::ops::TextLineReader::Attrs::skip_header_lines_ = 0\n``` \n\nPublic functions\n----------------\n\n### Container\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::TextLineReader::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::TextLineReader::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 \"\" \n\n### SkipHeaderLines\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::TextLineReader::Attrs::SkipHeaderLines(\n int64 x\n)\n``` \nNumber of lines to skip from the beginning of every file.\n\nDefaults to 0"]]