تدفق التوتر:: العمليات:: المجمع المشروط:: أترز
#include <data_flow_ops.h>
محددات السمات الاختيارية لـ ConditionalAccumulator .
ملخص
الصفات العامة | |
---|---|
container_ = "" | StringPiece |
reduction_type_ = "MEAN" | StringPiece |
shared_name_ = "" | StringPiece |
الوظائف العامة | |
---|---|
Container (StringPiece x) | TF_MUST_USE_RESULT Attrs إذا لم يكن فارغًا، يتم وضع هذا المركم في الحاوية المحددة. |
ReductionType (StringPiece x) | TF_MUST_USE_RESULT Attrs الإعدادات الافتراضية إلى "MEAN". |
SharedName (StringPiece x) | TF_MUST_USE_RESULT Attrs إذا لم يكن فارغًا، فستتم مشاركة هذا المجمع تحت الاسم المحدد عبر جلسات متعددة. |
الصفات العامة
حاوية_
StringPiece tensorflow::ops::ConditionalAccumulator::Attrs::container_ = ""
نوع_التخفيض_
StringPiece tensorflow::ops::ConditionalAccumulator::Attrs::reduction_type_ = "MEAN"
اسم_مشترك_
StringPiece tensorflow::ops::ConditionalAccumulator::Attrs::shared_name_ = ""
الوظائف العامة
حاوية
TF_MUST_USE_RESULT Attrs tensorflow::ops::ConditionalAccumulator::Attrs::Container( StringPiece x )
إذا لم يكن فارغًا، يتم وضع هذا المركم في الحاوية المحددة.
وبخلاف ذلك، يتم استخدام حاوية افتراضية.
الإعدادات الافتراضية إلى ""
نوع التخفيض
TF_MUST_USE_RESULT Attrs tensorflow::ops::ConditionalAccumulator::Attrs::ReductionType( StringPiece x )
الإعدادات الافتراضية إلى "MEAN".
الاسم المشترك
TF_MUST_USE_RESULT Attrs tensorflow::ops::ConditionalAccumulator::Attrs::SharedName( StringPiece x )
إذا لم يكن فارغًا، فستتم مشاركة هذا المجمع تحت الاسم المحدد عبر جلسات متعددة.
الإعدادات الافتراضية إلى ""
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-27 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-27 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["# tensorflow::ops::ConditionalAccumulator::Attrs Struct Reference\n\ntensorflow::ops::ConditionalAccumulator::Attrs\n==============================================\n\n`#include \u003cdata_flow_ops.h\u003e`\n\nOptional attribute setters for [ConditionalAccumulator](/versions/r2.3/api_docs/cc/class/tensorflow/ops/conditional-accumulator#classtensorflow_1_1ops_1_1_conditional_accumulator).\n\nSummary\n-------\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------------------------------------------------|---------------|\n| [container_](#structtensorflow_1_1ops_1_1_conditional_accumulator_1_1_attrs_1a7f2f89c42e3cbf95526aa907a77f53d4)` = \"\"` | `StringPiece` |\n| [reduction_type_](#structtensorflow_1_1ops_1_1_conditional_accumulator_1_1_attrs_1a32ecfc7e8a37074ae856258693dcf747)` = \"MEAN\"` | `StringPiece` |\n| [shared_name_](#structtensorflow_1_1ops_1_1_conditional_accumulator_1_1_attrs_1a142283e0a1c4e6cc92be292f7ae7f561)` = \"\"` | `StringPiece` |\n\n| ### Public functions ||\n|-------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Container](#structtensorflow_1_1ops_1_1_conditional_accumulator_1_1_attrs_1af778e825f25825f460d90645e79ee5af)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/conditional-accumulator/attrs#structtensorflow_1_1ops_1_1_conditional_accumulator_1_1_attrs) If non-empty, this accumulator is placed in the given container. |\n| [ReductionType](#structtensorflow_1_1ops_1_1_conditional_accumulator_1_1_attrs_1ae1598d66943f12caae75afdcc7f40e9b)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/conditional-accumulator/attrs#structtensorflow_1_1ops_1_1_conditional_accumulator_1_1_attrs) Defaults to \"MEAN\". |\n| [SharedName](#structtensorflow_1_1ops_1_1_conditional_accumulator_1_1_attrs_1a62fd2007c7828997be44f69c19d0829a)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/conditional-accumulator/attrs#structtensorflow_1_1ops_1_1_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::ConditionalAccumulator::Attrs::container_ = \"\"\n``` \n\n### reduction_type_\n\n```carbon\nStringPiece tensorflow::ops::ConditionalAccumulator::Attrs::reduction_type_ = \"MEAN\"\n``` \n\n### shared_name_\n\n```scdoc\nStringPiece tensorflow::ops::ConditionalAccumulator::Attrs::shared_name_ = \"\"\n``` \n\nPublic functions\n----------------\n\n### Container\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::ConditionalAccumulator::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::ConditionalAccumulator::Attrs::ReductionType(\n StringPiece x\n)\n``` \nDefaults to \"MEAN\". \n\n### SharedName\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::ConditionalAccumulator::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 \"\""]]