# tensorflow::ops::DenseBincount::Attrs Struct Reference

# tensorflow::
ops::
DenseBincount::
Attrs

`
#include <math_ops.h>
`


Optional attribute setters for
[DenseBincount](https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/ops/dense-bincount#classtensorflow_1_1ops_1_1_dense_bincount)
.

## Summary

| ### Public attributes ||
|---|---|
| ` https://www.tensorflow.org/versions/r2.5/api_docs/cc/struct/tensorflow/ops/dense-bincount/attrs#structtensorflow_1_1ops_1_1_dense_bincount_1_1_attrs_1a955ce1d6b99fa4a24116d17cb0de255a = false ` | ` bool ` |

| ### Public functions ||
|---|---|
| ` https://www.tensorflow.org/versions/r2.5/api_docs/cc/struct/tensorflow/ops/dense-bincount/attrs#structtensorflow_1_1ops_1_1_dense_bincount_1_1_attrs_1a6fb44a502dd6391a5352ced0b10eff8b (bool x) ` | ` TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.5/api_docs/cc/struct/tensorflow/ops/dense-bincount/attrs#structtensorflow_1_1ops_1_1_dense_bincount_1_1_attrs ` bool; Whether the kernel should count the appearance or number of occurrences. |

## Public attributes

### binary_output_

```
bool tensorflow::ops::DenseBincount::Attrs::binary_output_ = false
```

## Public functions

### BinaryOutput

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::DenseBincount::Attrs::BinaryOutput(
  bool x
)
```

bool; Whether the kernel should count the appearance or number of occurrences.


Defaults to false