# tensorflow::ops::ResourceApplyCenteredRMSProp::Attrs

`#include <training_ops.h>`

Optional attribute setters for [ResourceApplyCenteredRMSProp](https://www.tensorflow.org/versions/r2.12/api_docs/cc/class/tensorflow/ops/resource-apply-centered-r-m-s-prop#classtensorflow_1_1ops_1_1_resource_apply_centered_r_m_s_prop).

## Summary

| ### Public attributes ||
|---|---|
| `https://www.tensorflow.org/versions/r2.12/api_docs/cc/struct/tensorflow/ops/resource-apply-centered-r-m-s-prop/attrs#structtensorflow_1_1ops_1_1_resource_apply_centered_r_m_s_prop_1_1_attrs_1aa279f23bb57b8ba9cb353b80530b8a63 = false` | `bool` |

| ### Public functions ||
|---|---|
| `https://www.tensorflow.org/versions/r2.12/api_docs/cc/struct/tensorflow/ops/resource-apply-centered-r-m-s-prop/attrs#structtensorflow_1_1ops_1_1_resource_apply_centered_r_m_s_prop_1_1_attrs_1ad768db37f38931dd5076cdd88f0d355d(bool x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.12/api_docs/cc/struct/tensorflow/ops/resource-apply-centered-r-m-s-prop/attrs#structtensorflow_1_1ops_1_1_resource_apply_centered_r_m_s_prop_1_1_attrs` If `True`, updating of the var, mg, ms, and mom tensors is protected by a lock; otherwise the behavior is undefined, but may exhibit less contention. |

## Public attributes

### use_locking_

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

## Public functions

### UseLocking

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::ResourceApplyCenteredRMSProp::Attrs::UseLocking(
  bool x
)
```
If `True`, updating of the var, mg, ms, and mom tensors is protected by a lock; otherwise the behavior is undefined, but may exhibit less contention.

Defaults to false