# tensorflow::ops::SparseApplyAdadelta::Attrs

`#include <training_ops.h>`

Optional attribute setters for [SparseApplyAdadelta](https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/ops/sparse-apply-adadelta#classtensorflow_1_1ops_1_1_sparse_apply_adadelta).

## Summary

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

| ### Public functions ||
|---|---|
| `https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/sparse-apply-adadelta/attrs#structtensorflow_1_1ops_1_1_sparse_apply_adadelta_1_1_attrs_1a44edb6cef478daaaa64fd0d9880fa8c5(bool x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/sparse-apply-adadelta/attrs#structtensorflow_1_1ops_1_1_sparse_apply_adadelta_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::SparseApplyAdadelta::Attrs::use_locking_ = false
```

## Public functions

### UseLocking

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