संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
टेंसरफ़्लो:: ऑप्स:: AccumulatorSetGlobalStep
#include <data_flow_ops.h>
ग्लोबल_स्टेप के लिए एक नए मान के साथ संचायक को अद्यतन करता है।
सारांश
यदि संचायक का मान पहले से ही new_global_step से अधिक है तो लॉग चेतावनी देता है।
तर्क:
- स्कोप: एक स्कोप ऑब्जेक्ट
- हैंडल: संचायक का हैंडल।
- new_global_step: सेट करने के लिए नया ग्लोबल_स्टेप मान।
रिटर्न:
सार्वजनिक गुण
सार्वजनिक समारोह
ऑपरेटर::टेन्सरफ़्लो::ऑपरेशन
operator::tensorflow::Operation() const
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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```"]]