จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เทนเซอร์โฟลว์:: ปฏิบัติการ:: ตัวสะสมแบบมีเงื่อนไขแบบเบาบาง:: คุณสมบัติ
#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"
shared_name_
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 \"\""]]