Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::ResourceApplyFtrl::Attrs
#include <training_ops.h>
Optional attribute setters for ResourceApplyFtrl.
Summary
Public functions
|
MultiplyLinearByLr(bool x)
|
Defaults to false.
|
UseLocking(bool x)
|
If True , updating of the var and accum tensors will be protected by a lock; otherwise the behavior is undefined, but may exhibit less contention.
|
Public attributes
multiply_linear_by_lr_
bool tensorflow::ops::ResourceApplyFtrl::Attrs::multiply_linear_by_lr_ = false
use_locking_
bool tensorflow::ops::ResourceApplyFtrl::Attrs::use_locking_ = false
Public functions
MultiplyLinearByLr
TF_MUST_USE_RESULT Attrs tensorflow::ops::ResourceApplyFtrl::Attrs::MultiplyLinearByLr(
bool x
)
UseLocking
TF_MUST_USE_RESULT Attrs tensorflow::ops::ResourceApplyFtrl::Attrs::UseLocking(
bool x
)
If True
, updating of the var and accum tensors will be protected by a lock; otherwise the behavior is undefined, but may exhibit less contention.
Defaults to false
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[],[],null,["# tensorflow::ops::ResourceApplyFtrl::Attrs Struct Reference\n\ntensorflow::ops::ResourceApplyFtrl::Attrs\n=========================================\n\n`#include \u003ctraining_ops.h\u003e`\n\nOptional attribute setters for [ResourceApplyFtrl](/versions/r2.14/api_docs/cc/class/tensorflow/ops/resource-apply-ftrl#classtensorflow_1_1ops_1_1_resource_apply_ftrl).\n\nSummary\n-------\n\n| ### Public attributes ||\n|-----------------------------------------------------------------------------------------------------------------------------------|--------|\n| [multiply_linear_by_lr_](#structtensorflow_1_1ops_1_1_resource_apply_ftrl_1_1_attrs_1a4c4b5e530a9291693d008b762a88b575)` = false` | `bool` |\n| [use_locking_](#structtensorflow_1_1ops_1_1_resource_apply_ftrl_1_1_attrs_1a591aa915bd95e62f5736f30cb0ef136e)` = false` | `bool` |\n\n| ### Public functions ||\n|-------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [MultiplyLinearByLr](#structtensorflow_1_1ops_1_1_resource_apply_ftrl_1_1_attrs_1a96061a0f8e5f405205cbef5006b46aad)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.14/api_docs/cc/struct/tensorflow/ops/resource-apply-ftrl/attrs#structtensorflow_1_1ops_1_1_resource_apply_ftrl_1_1_attrs) Defaults to false. |\n| [UseLocking](#structtensorflow_1_1ops_1_1_resource_apply_ftrl_1_1_attrs_1a37a2a5438991a78fb5bd0ea0c12ebee7)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.14/api_docs/cc/struct/tensorflow/ops/resource-apply-ftrl/attrs#structtensorflow_1_1ops_1_1_resource_apply_ftrl_1_1_attrs) If `True`, updating of the var and accum tensors will be protected by a lock; otherwise the behavior is undefined, but may exhibit less contention. |\n\nPublic attributes\n-----------------\n\n### multiply_linear_by_lr_\n\n```scdoc\nbool tensorflow::ops::ResourceApplyFtrl::Attrs::multiply_linear_by_lr_ = false\n``` \n\n### use_locking_\n\n```scdoc\nbool tensorflow::ops::ResourceApplyFtrl::Attrs::use_locking_ = false\n``` \n\nPublic functions\n----------------\n\n### MultiplyLinearByLr\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::ResourceApplyFtrl::Attrs::MultiplyLinearByLr(\n bool x\n)\n``` \nDefaults to false. \n\n### UseLocking\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::ResourceApplyFtrl::Attrs::UseLocking(\n bool x\n)\n``` \nIf `True`, updating of the var and accum tensors will be protected by a lock; otherwise the behavior is undefined, but may exhibit less contention.\n\nDefaults to false"]]