Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
przepływ tensorowy:: ops:: Akumulator warunkowy rzadki:: Atrybuty
#include <data_flow_ops.h>
Opcjonalne moduły ustawiające atrybuty dla SparseConditionalAccumulator .
Streszczenie
Funkcje publiczne |
---|
Container (StringPiece x) | Jeśli nie jest pusty, akumulator ten umieszcza się w danym pojemniku. |
ReductionType (StringPiece x) | Domyślnie jest to „ŚREDNIA”. |
SharedName (StringPiece x) | Jeśli nie jest pusty, akumulator ten będzie udostępniany pod podaną nazwą w wielu sesjach. |
Atrybuty publiczne
pojemnik_
StringPiece tensorflow::ops::SparseConditionalAccumulator::Attrs::container_ = ""
typ_redukcji_
StringPiece tensorflow::ops::SparseConditionalAccumulator::Attrs::reduction_type_ = "MEAN"
wspólna nazwa_
StringPiece tensorflow::ops::SparseConditionalAccumulator::Attrs::shared_name_ = ""
Funkcje publiczne
Pojemnik
TF_MUST_USE_RESULT Attrs tensorflow::ops::SparseConditionalAccumulator::Attrs::Container(
StringPiece x
)
Jeśli nie jest pusty, akumulator ten umieszcza się w danym pojemniku.
W przeciwnym razie używany jest kontener domyślny.
Domyślnie „”
Typ redukcji
TF_MUST_USE_RESULT Attrs tensorflow::ops::SparseConditionalAccumulator::Attrs::ReductionType(
StringPiece x
)
Domyślnie jest to „ŚREDNIA”.
Wspólna nazwa
TF_MUST_USE_RESULT Attrs tensorflow::ops::SparseConditionalAccumulator::Attrs::SharedName(
StringPiece x
)
Jeśli nie jest pusty, akumulator ten będzie udostępniany pod podaną nazwą w wielu sesjach.
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-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[],[],null,["# tensorflow::ops::SparseConditionalAccumulator::Attrs Struct Reference\n\ntensorflow::ops::SparseConditionalAccumulator::Attrs\n====================================================\n\n`#include \u003cdata_flow_ops.h\u003e`\n\nOptional attribute setters for [SparseConditionalAccumulator](/versions/r2.1/api_docs/cc/class/tensorflow/ops/sparse-conditional-accumulator#classtensorflow_1_1ops_1_1_sparse_conditional_accumulator).\n\nSummary\n-------\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------------------------------------------------|---------------|\n| [container_](#structtensorflow_1_1ops_1_1_sparse_conditional_accumulator_1_1_attrs_1a9eadc03f18ec64b4a24607490bc2bdd1)` = \"\"` | `StringPiece` |\n| [reduction_type_](#structtensorflow_1_1ops_1_1_sparse_conditional_accumulator_1_1_attrs_1a37876ae182189da5c7622891aeeda107)` = \"MEAN\"` | `StringPiece` |\n| [shared_name_](#structtensorflow_1_1ops_1_1_sparse_conditional_accumulator_1_1_attrs_1a47f996e0395a673c9feafb332646719c)` = \"\"` | `StringPiece` |\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Container](#structtensorflow_1_1ops_1_1_sparse_conditional_accumulator_1_1_attrs_1afe956a4da793d2da300578e27bff1177)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/sparse-conditional-accumulator/attrs#structtensorflow_1_1ops_1_1_sparse_conditional_accumulator_1_1_attrs) If non-empty, this accumulator is placed in the given container. |\n| [ReductionType](#structtensorflow_1_1ops_1_1_sparse_conditional_accumulator_1_1_attrs_1a1584ae8a3920516efe52b01dc0cc174d)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/sparse-conditional-accumulator/attrs#structtensorflow_1_1ops_1_1_sparse_conditional_accumulator_1_1_attrs) Defaults to \"MEAN\". |\n| [SharedName](#structtensorflow_1_1ops_1_1_sparse_conditional_accumulator_1_1_attrs_1a23089c44351930004ae452aa68113690)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/sparse-conditional-accumulator/attrs#structtensorflow_1_1ops_1_1_sparse_conditional_accumulator_1_1_attrs) If non-empty, this accumulator will be shared under the given name across multiple sessions. |\n\nPublic attributes\n-----------------\n\n### container_\n\n```scdoc\nStringPiece tensorflow::ops::SparseConditionalAccumulator::Attrs::container_ = \"\"\n``` \n\n### reduction_type_\n\n```carbon\nStringPiece tensorflow::ops::SparseConditionalAccumulator::Attrs::reduction_type_ = \"MEAN\"\n``` \n\n### shared_name_\n\n```scdoc\nStringPiece tensorflow::ops::SparseConditionalAccumulator::Attrs::shared_name_ = \"\"\n``` \n\nPublic functions\n----------------\n\n### Container\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::SparseConditionalAccumulator::Attrs::Container(\n StringPiece x\n)\n``` \nIf non-empty, this accumulator is placed in the given container.\n\nOtherwise, a default container is used.\n\nDefaults to \"\" \n\n### ReductionType\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::SparseConditionalAccumulator::Attrs::ReductionType(\n StringPiece x\n)\n``` \nDefaults to \"MEAN\". \n\n### SharedName\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::SparseConditionalAccumulator::Attrs::SharedName(\n StringPiece x\n)\n``` \nIf non-empty, this accumulator will be shared under the given name across multiple sessions.\n\nDefaults to \"\""]]