# tensorflow::ops::ApplyProximalAdagrad::Attrs Struct Reference

# tensorflow::
ops::
ApplyProximalAdagrad::
Attrs

`
#include <training_ops.h>
`


Optional attribute setters for
[ApplyProximalAdagrad](https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/ops/apply-proximal-adagrad#classtensorflow_1_1ops_1_1_apply_proximal_adagrad)
.

## Summary

| ### Public attributes ||
|---|---|
| ` https://www.tensorflow.org/versions/r2.5/api_docs/cc/struct/tensorflow/ops/apply-proximal-adagrad/attrs#structtensorflow_1_1ops_1_1_apply_proximal_adagrad_1_1_attrs_1ac74571141594c2439a2dc469c78eaad7 = false ` | ` bool ` |

| ### Public functions ||
|---|---|
| ` https://www.tensorflow.org/versions/r2.5/api_docs/cc/struct/tensorflow/ops/apply-proximal-adagrad/attrs#structtensorflow_1_1ops_1_1_apply_proximal_adagrad_1_1_attrs_1ad3e81a1452067424a5ac121820c847a4 (bool x) ` | ` TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.5/api_docs/cc/struct/tensorflow/ops/apply-proximal-adagrad/attrs#structtensorflow_1_1ops_1_1_apply_proximal_adagrad_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::ApplyProximalAdagrad::Attrs::use_locking_ = false
```

## Public functions

### UseLocking

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