コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
テンソルフロー::作戦:: SparseConditionalAccumulator::属性
#include <data_flow_ops.h>
SparseConditionalAccumulatorのオプションの属性セッター。
まとめ
公共機能 |
---|
Container (StringPiece x) | 空でない場合、このアキュムレータは指定されたコンテナに配置されます。 |
ReductionType (StringPiece x) | デフォルトは「MEAN」です。 |
SharedName (StringPiece x) | 空でない場合、このアキュムレータは指定された名前で複数のセッション間で共有されます。 |
パブリック属性
容器_
StringPiece tensorflow::ops::SparseConditionalAccumulator::Attrs::container_ = ""
削減タイプ_
StringPiece tensorflow::ops::SparseConditionalAccumulator::Attrs::reduction_type_ = "MEAN"
共有名_
StringPiece tensorflow::ops::SparseConditionalAccumulator::Attrs::shared_name_ = ""
公共機能
容器
TF_MUST_USE_RESULT Attrs tensorflow::ops::SparseConditionalAccumulator::Attrs::Container(
StringPiece x
)
空でない場合、このアキュムレータは指定されたコンテナに配置されます。
それ以外の場合は、デフォルトのコンテナが使用されます。
デフォルトは「」です
リダクションタイプ
TF_MUST_USE_RESULT Attrs tensorflow::ops::SparseConditionalAccumulator::Attrs::ReductionType(
StringPiece x
)
共有名
TF_MUST_USE_RESULT Attrs tensorflow::ops::SparseConditionalAccumulator::Attrs::SharedName(
StringPiece x
)
空でない場合、このアキュムレータは指定された名前で複数のセッション間で共有されます。
デフォルトは「」です
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 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 \"\""]]