Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
tensor akışı:: işlem:: ResourceApplyRMSProp:: Öznitelikler
#include <training_ops.h>
ResourceApplyRMSProp için isteğe bağlı öznitelik ayarlayıcılar.
Özet
Kamu işlevleri |
---|
UseLocking (bool x) | True ise var, ms ve mom tensörlerinin güncellenmesi bir kilitle korunur; aksi takdirde davranış tanımsızdır ancak daha az çekişme sergileyebilir. |
Genel özellikler
use_locking_
bool tensorflow::ops::ResourceApplyRMSProp::Attrs::use_locking_ = false
Kamu işlevleri
KullanımKilitleme
TF_MUST_USE_RESULT Attrs tensorflow::ops::ResourceApplyRMSProp::Attrs::UseLocking(
bool x
)
True
ise var, ms ve mom tensörlerinin güncellenmesi bir kilitle korunur; aksi takdirde davranış tanımsızdır ancak daha az çekişme sergileyebilir.
Varsayılanlar yanlıştır
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-25 UTC."],[],[],null,["# tensorflow::ops::ResourceApplyRMSProp::Attrs Struct Reference\n\ntensorflow::ops::ResourceApplyRMSProp::Attrs\n============================================\n\n`#include \u003ctraining_ops.h\u003e`\n\nOptional attribute setters for [ResourceApplyRMSProp](/versions/r1.15/api_docs/cc/class/tensorflow/ops/resource-apply-r-m-s-prop#classtensorflow_1_1ops_1_1_resource_apply_r_m_s_prop).\n\nSummary\n-------\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------------------------------------------------------|--------|\n| [use_locking_](#structtensorflow_1_1ops_1_1_resource_apply_r_m_s_prop_1_1_attrs_1a7de06c05cef6944ca539e2b26f839133)` = false` | `bool` |\n\n| ### Public functions ||\n|-----------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [UseLocking](#structtensorflow_1_1ops_1_1_resource_apply_r_m_s_prop_1_1_attrs_1a4d87d6536d2cdc54dca216cd6b037158)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/resource-apply-r-m-s-prop/attrs#structtensorflow_1_1ops_1_1_resource_apply_r_m_s_prop_1_1_attrs) If `True`, updating of the var, ms, and mom tensors is 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::ResourceApplyRMSProp::Attrs::use_locking_ = false\n``` \n\nPublic functions\n----------------\n\n### UseLocking\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::ResourceApplyRMSProp::Attrs::UseLocking(\n bool x\n)\n``` \nIf `True`, updating of the var, ms, and mom tensors is protected by a lock; otherwise the behavior is undefined, but may exhibit less contention.\n\nDefaults to false"]]