# tensorflow::ops::ApplyProximalGradientDescent::Attrs

`#include <training_ops.h>`

Optional attribute setters for [ApplyProximalGradientDescent](https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/apply-proximal-gradient-descent#classtensorflow_1_1ops_1_1_apply_proximal_gradient_descent).

## Summary

| ### Public attributes ||
|---|---|
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/apply-proximal-gradient-descent/attrs#structtensorflow_1_1ops_1_1_apply_proximal_gradient_descent_1_1_attrs_1ab3cc145d79f624ed249e93bd5b3793f9 = false` | `bool` |

| ### Public functions ||
|---|---|
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/apply-proximal-gradient-descent/attrs#structtensorflow_1_1ops_1_1_apply_proximal_gradient_descent_1_1_attrs_1a55785247936cf60b978d397750373133(bool x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/apply-proximal-gradient-descent/attrs#structtensorflow_1_1ops_1_1_apply_proximal_gradient_descent_1_1_attrs` If True, the subtraction will be protected by a lock; otherwise the behavior is undefined, but may exhibit less contention. |

## Public attributes

### use_locking_

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

## Public functions

### UseLocking

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::ApplyProximalGradientDescent::Attrs::UseLocking(
  bool x
)
```
If True, the subtraction will be protected by a lock; otherwise the behavior is undefined, but may exhibit less contention.

Defaults to false