Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
aliran tensor:: operasi:: Pembaca Baris Teks:: Attr
#include <io_ops.h>
Penyetel atribut opsional untuk TextLineReader .
Ringkasan
Fungsi publik |
---|
Container (StringPiece x) | Jika tidak kosong, pembaca ini ditempatkan pada wadah yang diberikan. |
SharedName (StringPiece x) | Jika tidak kosong, pembaca ini diberi nama dalam keranjang yang diberikan dengan nama_bersama ini. |
SkipHeaderLines (int64 x) | Jumlah baris yang harus dilewati dari awal setiap file. |
Atribut publik
wadah_
StringPiece tensorflow::ops::TextLineReader::Attrs::container_ = ""
nama_bersama_
StringPiece tensorflow::ops::TextLineReader::Attrs::shared_name_ = ""
int64 tensorflow::ops::TextLineReader::Attrs::skip_header_lines_ = 0
Fungsi publik
Wadah
TF_MUST_USE_RESULT Attrs tensorflow::ops::TextLineReader::Attrs::Container(
StringPiece x
)
Jika tidak kosong, pembaca ini ditempatkan pada wadah yang diberikan.
Jika tidak, wadah default akan digunakan.
Defaultnya adalah ""
Nama Bersama
TF_MUST_USE_RESULT Attrs tensorflow::ops::TextLineReader::Attrs::SharedName(
StringPiece x
)
Jika tidak kosong, pembaca ini diberi nama dalam keranjang yang diberikan dengan nama_bersama ini.
Jika tidak, nama node akan digunakan sebagai gantinya.
Defaultnya adalah ""
TF_MUST_USE_RESULT Attrs tensorflow::ops::TextLineReader::Attrs::SkipHeaderLines(
int64 x
)
Jumlah baris yang harus dilewati dari awal setiap file.
Defaultnya adalah 0
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-26 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.2/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.2/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.2/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.2/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"]]