Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
przepływ tensorowy:: ops:: Czytnik całego pliku:: Atrybuty
#include <io_ops.h>
Opcjonalne moduły ustawiające atrybuty dla WholeFileReader .
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ą. |
Atrybuty publiczne
pojemnik_
StringPiece tensorflow::ops::WholeFileReader::Attrs::container_ = ""
wspólna nazwa_
StringPiece tensorflow::ops::WholeFileReader::Attrs::shared_name_ = ""
Funkcje publiczne
Pojemnik
TF_MUST_USE_RESULT Attrs tensorflow::ops::WholeFileReader::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::WholeFileReader::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 „”
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::WholeFileReader::Attrs Struct Reference\n\ntensorflow::ops::WholeFileReader::Attrs\n=======================================\n\n`#include \u003cio_ops.h\u003e`\n\nOptional attribute setters for [WholeFileReader](/versions/r2.3/api_docs/cc/class/tensorflow/ops/whole-file-reader#classtensorflow_1_1ops_1_1_whole_file_reader).\n\nSummary\n-------\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------------------------------|---------------|\n| [container_](#structtensorflow_1_1ops_1_1_whole_file_reader_1_1_attrs_1ab2be51d49964dfa075607f3bfb540fa1)` = \"\"` | `StringPiece` |\n| [shared_name_](#structtensorflow_1_1ops_1_1_whole_file_reader_1_1_attrs_1ab18cd1c5a421c4f6622515a46d204d22)` = \"\"` | `StringPiece` |\n\n| ### Public functions ||\n|----------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Container](#structtensorflow_1_1ops_1_1_whole_file_reader_1_1_attrs_1ae951ae9d878ac1752b53321de8fd6ef5)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/whole-file-reader/attrs#structtensorflow_1_1ops_1_1_whole_file_reader_1_1_attrs) If non-empty, this reader is placed in the given container. |\n| [SharedName](#structtensorflow_1_1ops_1_1_whole_file_reader_1_1_attrs_1a6c1247f8cc0ac84a910e5577e2bc04de)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/whole-file-reader/attrs#structtensorflow_1_1ops_1_1_whole_file_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::WholeFileReader::Attrs::container_ = \"\"\n``` \n\n### shared_name_\n\n```scdoc\nStringPiece tensorflow::ops::WholeFileReader::Attrs::shared_name_ = \"\"\n``` \n\nPublic functions\n----------------\n\n### Container\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::WholeFileReader::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::WholeFileReader::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 \"\""]]