संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
टेंसरफ़्लो:: ऑप्स:: रिसोर्स अप्लाईप्रॉक्सिमलग्रेडिएंटडिसेंट:: Attrs
#include <training_ops.h>
resourceApplyProximalGradientDescent के लिए वैकल्पिक विशेषता सेटर्स।
सारांश
सार्वजनिक समारोह |
---|
UseLocking (bool x) | यदि सत्य है, तो घटाव को ताले द्वारा संरक्षित किया जाएगा; अन्यथा व्यवहार अपरिभाषित है, लेकिन कम विवाद प्रदर्शित कर सकता है। |
सार्वजनिक गुण
उपयोग_लॉकिंग_
bool tensorflow::ops::ResourceApplyProximalGradientDescent::Attrs::use_locking_ = false
सार्वजनिक समारोह
लॉकिंग का उपयोग करें
TF_MUST_USE_RESULT Attrs tensorflow::ops::ResourceApplyProximalGradientDescent::Attrs::UseLocking(
bool x
)
यदि सत्य है, तो घटाव को ताले द्वारा संरक्षित किया जाएगा; अन्यथा व्यवहार अपरिभाषित है, लेकिन कम विवाद प्रदर्शित कर सकता है।
डिफ़ॉल्ट से असत्य
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],[],null,["# tensorflow::ops::ResourceApplyProximalGradientDescent::Attrs Struct Reference\n\ntensorflow::ops::ResourceApplyProximalGradientDescent::Attrs\n============================================================\n\n`#include \u003ctraining_ops.h\u003e`\n\nOptional attribute setters for [ResourceApplyProximalGradientDescent](/versions/r2.1/api_docs/cc/class/tensorflow/ops/resource-apply-proximal-gradient-descent#classtensorflow_1_1ops_1_1_resource_apply_proximal_gradient_descent).\n\nSummary\n-------\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------------------------------------------------------|--------|\n| [use_locking_](#structtensorflow_1_1ops_1_1_resource_apply_proximal_gradient_descent_1_1_attrs_1a99aede12bcf9bc881f519d21d658a151)` = false` | `bool` |\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [UseLocking](#structtensorflow_1_1ops_1_1_resource_apply_proximal_gradient_descent_1_1_attrs_1a39ae1d80ab2854693a56ab2373821e69)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/resource-apply-proximal-gradient-descent/attrs#structtensorflow_1_1ops_1_1_resource_apply_proximal_gradient_descent_1_1_attrs) If True, the subtraction will be protected by a lock; otherwise the behavior is undefined, but may exhibit less contention. |\n\nPublic attributes\n-----------------\n\n### use_locking_\n\n```scdoc\nbool tensorflow::ops::ResourceApplyProximalGradientDescent::Attrs::use_locking_ = false\n``` \n\nPublic functions\n----------------\n\n### UseLocking\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::ResourceApplyProximalGradientDescent::Attrs::UseLocking(\n bool x\n)\n``` \nIf True, the subtraction will be protected by a lock; otherwise the behavior is undefined, but may exhibit less contention.\n\nDefaults to false"]]