# tensorflow::ops::ApplyRMSProp::Attrs

`#include <training_ops.h>`

Optional attribute setters for [ApplyRMSProp](https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/ops/apply-r-m-s-prop#classtensorflow_1_1ops_1_1_apply_r_m_s_prop).

## Summary

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

| ### Public functions ||
|---|---|
| `https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/apply-r-m-s-prop/attrs#structtensorflow_1_1ops_1_1_apply_r_m_s_prop_1_1_attrs_1adc85b286c7de34836e35cfe1eb49fad1(bool x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/apply-r-m-s-prop/attrs#structtensorflow_1_1ops_1_1_apply_r_m_s_prop_1_1_attrs` If `True`, updating of the var, 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::ApplyRMSProp::Attrs::use_locking_ = false
```

## Public functions

### UseLocking

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

Defaults to false