จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เทนเซอร์โฟลว์:: ปฏิบัติการ:: ตัวสะสมแบบมีเงื่อนไข:: คุณสมบัติ
#include <data_flow_ops.h>
ตัวตั้งค่าแอ็ตทริบิวต์ทางเลือกสำหรับ ConditionalAccumulator
สรุป
งานสาธารณะ |
---|
Container (StringPiece x) | หากไม่ว่างเปล่า ตัวสะสมนี้จะถูกวางไว้ในภาชนะที่กำหนด |
ReductionType (StringPiece x) | ค่าเริ่มต้นคือ "MEAN" |
SharedName (StringPiece x) | หากไม่ว่างเปล่า ตัวสะสมนี้จะถูกแชร์ภายใต้ชื่อที่กำหนดในหลายเซสชัน |
คุณลักษณะสาธารณะ
คอนเทนเนอร์_
StringPiece tensorflow::ops::ConditionalAccumulator::Attrs::container_ = ""
ลด_ประเภท_
StringPiece tensorflow::ops::ConditionalAccumulator::Attrs::reduction_type_ = "MEAN"
shared_name_
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
)
ชื่อที่ใช้ร่วมกัน
TF_MUST_USE_RESULT Attrs tensorflow::ops::ConditionalAccumulator::Attrs::SharedName(
StringPiece x
)
หากไม่ว่างเปล่า ตัวสะสมนี้จะถูกแชร์ภายใต้ชื่อที่กำหนดในหลายเซสชัน
ค่าเริ่มต้นเป็น ""
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-27 UTC
[null,null,["อัปเดตล่าสุด 2025-07-27 UTC"],[],[],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 \"\""]]