# tensorflow::ops::ReduceJoin::Attrs Struct Reference

# tensorflow::ops::ReduceJoin::Attrs

`#include <string_ops.h>`

Optional attribute setters for [ReduceJoin](https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/ops/reduce-join#classtensorflow_1_1ops_1_1_reduce_join).

## Summary

| ### Public attributes ||
|---|---|
| `https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/reduce-join/attrs#structtensorflow_1_1ops_1_1_reduce_join_1_1_attrs_1a66a59084a13a6c34e60e508139766811 = false` | `bool` |
| `https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/reduce-join/attrs#structtensorflow_1_1ops_1_1_reduce_join_1_1_attrs_1ade2a0c0e567aa8291553cda9780d17fb = ""` | `StringPiece` |

| ### Public functions ||
|---|---|
| `https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/reduce-join/attrs#structtensorflow_1_1ops_1_1_reduce_join_1_1_attrs_1a0f391c062a0b97f5d54df7b92268f68c(bool x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/reduce-join/attrs#structtensorflow_1_1ops_1_1_reduce_join_1_1_attrs` If `True`, retain reduced dimensions with length `1`. |
| `https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/reduce-join/attrs#structtensorflow_1_1ops_1_1_reduce_join_1_1_attrs_1a9d76fbf57907c183bef70bba3f0f67a4(StringPiece x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/reduce-join/attrs#structtensorflow_1_1ops_1_1_reduce_join_1_1_attrs` The separator to use when joining. |

## Public attributes

### keep_dims_

```
bool tensorflow::ops::ReduceJoin::Attrs::keep_dims_ = false
```

### separator_

```
StringPiece tensorflow::ops::ReduceJoin::Attrs::separator_ = ""
```

## Public functions

### KeepDims

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::ReduceJoin::Attrs::KeepDims(
  bool x
)
```
If `True`, retain reduced dimensions with length `1`.

Defaults to false

### Separator

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::ReduceJoin::Attrs::Separator(
  StringPiece x
)
```
The separator to use when joining.

Defaults to ""