# tensorflow::ops::ApplyFtrl::Attrs

`#include <training_ops.h>`

Optional attribute setters for [ApplyFtrl](https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/ops/apply-ftrl#classtensorflow_1_1ops_1_1_apply_ftrl).

## Summary

| ### Public attributes ||
|---|---|
| `https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/apply-ftrl/attrs#structtensorflow_1_1ops_1_1_apply_ftrl_1_1_attrs_1a43866e817d38793fc46f1ff522424205 = false` | `bool` |

| ### Public functions ||
|---|---|
| `https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/apply-ftrl/attrs#structtensorflow_1_1ops_1_1_apply_ftrl_1_1_attrs_1a36a310dfa74c9a811cf83d8995e51294(bool x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/apply-ftrl/attrs#structtensorflow_1_1ops_1_1_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. |

## Public attributes

### use_locking_

```
bool tensorflow::ops::ApplyFtrl::Attrs::use_locking_ = false
```

## Public functions

### UseLocking

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::ApplyFtrl::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