# tensorflow::ops::ResourceApplyProximalAdagrad::Attrs Struct Reference

# tensorflow::ops::ResourceApplyProximalAdagrad::Attrs

`#include <training_ops.h>`

Optional attribute setters for [ResourceApplyProximalAdagrad](https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/ops/resource-apply-proximal-adagrad#classtensorflow_1_1ops_1_1_resource_apply_proximal_adagrad).

## Summary

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

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

## Public functions

### UseLocking

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