จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เทนเซอร์โฟลว์:: ปฏิบัติการ:: AccumulatorSetGlobalขั้นตอน
#include <data_flow_ops.h>
อัพเดตตัวสะสมด้วยค่าใหม่สำหรับ global_step
สรุป
บันทึกคำเตือนหากค่าของตัวสะสมสูงกว่า new_global_step อยู่แล้ว
ข้อโต้แย้ง:
- ขอบเขต: วัตถุ ขอบเขต
- ที่จับ: ที่จับของตัวสะสม
- new_global_step: ค่า global_step ใหม่ที่จะตั้งค่า
ผลตอบแทน:
คุณลักษณะสาธารณะ
งานสาธารณะ
ตัวดำเนินการ::เทนเซอร์โฟลว์::การทำงาน
operator::tensorflow::Operation() const
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-27 UTC
[null,null,["อัปเดตล่าสุด 2025-07-27 UTC"],[],[],null,["# tensorflow::ops::AccumulatorSetGlobalStep Class Reference\n\ntensorflow::ops::AccumulatorSetGlobalStep\n=========================================\n\n`#include \u003cdata_flow_ops.h\u003e`\n\nUpdates the accumulator with a new value for global_step.\n\nSummary\n-------\n\nLogs warning if the accumulator's value is already higher than new_global_step.\n\nArguments:\n\n- scope: A [Scope](/versions/r2.0/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- handle: The handle to an accumulator.\n- new_global_step: The new global_step value to set.\n\n\u003cbr /\u003e\n\nReturns:\n\n- the created [Operation](/versions/r2.0/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation)\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [AccumulatorSetGlobalStep](#classtensorflow_1_1ops_1_1_accumulator_set_global_step_1a61fec3b7a6eb1fbf46a8a61b9ca39315)`(const ::`[tensorflow::Scope](/versions/r2.0/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.0/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` handle, ::`[tensorflow::Input](/versions/r2.0/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` new_global_step)` ||\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_accumulator_set_global_step_1aedb264125674e165047a38a22fc1feeb) | [Operation](/versions/r2.0/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------------------------------------------------------|---------|\n| [operator::tensorflow::Operation](#classtensorflow_1_1ops_1_1_accumulator_set_global_step_1a812f975f5a01b263dd0a3b8d3a4f4429)`() const ` | ` ` ` ` |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\nPublic functions\n----------------\n\n### AccumulatorSetGlobalStep\n\n```gdscript\n AccumulatorSetGlobalStep(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input handle,\n ::tensorflow::Input new_global_step\n)\n``` \n\n### operator::tensorflow::Operation\n\n```gdscript\n operator::tensorflow::Operation() const \n```"]]