tensorflow:: אופס:: AccumulatorSetGlobalStep
#include <data_flow_ops.h>
מעדכן את המצבר עם ערך חדש עבור global_step.
תַקצִיר
יומן אזהרה אם ערך המצבר כבר גבוה מ-new_global_step.
טיעונים:
- scope: אובייקט Scope
- ידית: הידית למצבר.
- new_global_step: הערך global_step החדש שיש להגדיר.
החזרות:
-
Operation
שנוצר
בנאים והורסים | |
---|---|
AccumulatorSetGlobalStep (const :: tensorflow::Scope & scope, :: tensorflow::Input handle, :: tensorflow::Input new_global_step) |
תכונות ציבוריות | |
---|---|
operation |
תפקידים ציבוריים | |
---|---|
operator::tensorflow::Operation () const |
תכונות ציבוריות
מִבצָע
Operation operation
תפקידים ציבוריים
AccumulatorSetGlobalStep
AccumulatorSetGlobalStep( const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::Input new_global_step )
אופרטור::tensorflow::פעולה
operator::tensorflow::Operation() const
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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```"]]