Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
przepływ tensorowy:: ops:: Czytnik tekstu:: Atrybuty
#include <io_ops.h>
Opcjonalne moduły ustawiające atrybuty dla TextLineReader .
Streszczenie
Funkcje publiczne |
---|
Container (StringPiece x) | Jeżeli nie jest pusty, czytnik ten umieszczany jest w danym pojemniku. |
SharedName (StringPiece x) | Jeśli nie jest pusty, ten czytnik otrzymuje nazwę w danym segmencie z tą wspólną_nazwą. |
SkipHeaderLines (int64 x) | Liczba linii do pominięcia od początku każdego pliku. |
Atrybuty publiczne
pojemnik_
StringPiece tensorflow::ops::TextLineReader::Attrs::container_ = ""
wspólna_nazwa_
StringPiece tensorflow::ops::TextLineReader::Attrs::shared_name_ = ""
int64 tensorflow::ops::TextLineReader::Attrs::skip_header_lines_ = 0
Funkcje publiczne
Pojemnik
TF_MUST_USE_RESULT Attrs tensorflow::ops::TextLineReader::Attrs::Container(
StringPiece x
)
Jeżeli nie jest pusty, czytnik ten umieszczany jest w danym pojemniku.
W przeciwnym razie używany jest kontener domyślny.
Domyślnie „”
Wspólna nazwa
TF_MUST_USE_RESULT Attrs tensorflow::ops::TextLineReader::Attrs::SharedName(
StringPiece x
)
Jeśli nie jest pusty, ten czytnik otrzymuje nazwę w danym segmencie z tą wspólną_nazwą.
W przeciwnym razie zamiast tego używana jest nazwa węzła.
Domyślnie „”
TF_MUST_USE_RESULT Attrs tensorflow::ops::TextLineReader::Attrs::SkipHeaderLines(
int64 x
)
Liczba linii do pominięcia od początku każdego pliku.
Wartość domyślna to 0
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-27 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-27 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.3/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.3/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.3/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.3/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"]]