# tensorflow::ops::ApplyAdadelta::Attrs Struct Reference

# tensorflow::ops::ApplyAdadelta::Attrs

`#include <training_ops.h>`

Optional attribute setters for [ApplyAdadelta](https://www.tensorflow.org/versions/r2.8/api_docs/cc/class/tensorflow/ops/apply-adadelta#classtensorflow_1_1ops_1_1_apply_adadelta).

## Summary

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

| ### Public functions ||
|---|---|
| `https://www.tensorflow.org/versions/r2.8/api_docs/cc/struct/tensorflow/ops/apply-adadelta/attrs#structtensorflow_1_1ops_1_1_apply_adadelta_1_1_attrs_1ac32ed6309626701bd98e3c71e6e96408(bool x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.8/api_docs/cc/struct/tensorflow/ops/apply-adadelta/attrs#structtensorflow_1_1ops_1_1_apply_adadelta_1_1_attrs` If True, updating of the var, accum and update_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::ApplyAdadelta::Attrs::use_locking_ = false
```

## Public functions

### UseLocking

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

Defaults to false