tensorflow::ops::ResourceApplyAdagrad::Attrs
#include <training_ops.h>
Необязательные сеттеры атрибутов для ResourceApplyAdagrad.
Сводка
| Открытые атрибуты | |
|---|---|
update_slots_ = true | bool |
use_locking_ = false | bool |
| Открытые функции | |
|---|---|
UpdateSlots(bool x) | TF_MUST_USE_RESULT Attrs По умолчанию — true. |
UseLocking(bool x) | TF_MUST_USE_RESULT Attrs Если True, обновление тензоров var и accum будет защищено блокировкой; в противном случае поведение не определено, но может сопровождаться меньшей конкуренцией за ресурсы. |
Открытые атрибуты
update_slots_
bool tensorflow::ops::ResourceApplyAdagrad::Attrs::update_slots_ = true
use_locking_
bool tensorflow::ops::ResourceApplyAdagrad::Attrs::use_locking_ = false
Открытые функции
UpdateSlots
TF_MUST_USE_RESULT Attrs tensorflow::ops::ResourceApplyAdagrad::Attrs::UpdateSlots( bool x )
По умолчанию — true.
UseLocking
TF_MUST_USE_RESULT Attrs tensorflow::ops::ResourceApplyAdagrad::Attrs::UseLocking( bool x )
Если True, обновление тензоров var и accum будет защищено блокировкой; в противном случае поведение не определено, но может сопровождаться меньшей конкуренцией за ресурсы.
По умолчанию — false
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/struct/tensorflow/ops/resource-apply-adagrad/attrs