# tensorflow::ops::SparseBincount::Attrs Struct Reference

# tensorflow::
ops::
SparseBincount::
Attrs

`
#include <math_ops.h>
`


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

## Summary

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

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

## Public attributes

### binary_output_

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

## Public functions

### BinaryOutput

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

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


Defaults to false