# tensorflow::ops::ResourceSparseApplyAdadelta::Attrs

`#include <training_ops.h>`

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

## Summary

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

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

## Public functions

### UseLocking

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