# tensorflow::ops::HistogramFixedWidth::Attrs Struct Reference

# tensorflow::ops::HistogramFixedWidth::Attrs

`#include <math_ops.h>`

Optional attribute setters for [HistogramFixedWidth](https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/ops/histogram-fixed-width#classtensorflow_1_1ops_1_1_histogram_fixed_width).

## Summary

| ### Public attributes ||
|---|---|
| `https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/histogram-fixed-width/attrs#structtensorflow_1_1ops_1_1_histogram_fixed_width_1_1_attrs_1a473c502538ba1aa8508ce06805f4ed55 = DT_INT32` | `DataType` |

| ### Public functions ||
|---|---|
| `https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/histogram-fixed-width/attrs#structtensorflow_1_1ops_1_1_histogram_fixed_width_1_1_attrs_1a475fd0e212143ce0d9ac578fce8c1ac0(DataType x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/histogram-fixed-width/attrs#structtensorflow_1_1ops_1_1_histogram_fixed_width_1_1_attrs` Defaults to DT_INT32. |

## Public attributes

### dtype_

```
DataType tensorflow::ops::HistogramFixedWidth::Attrs::dtype_ = DT_INT32
```

## Public functions

### Dtype

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::HistogramFixedWidth::Attrs::Dtype(
  DataType x
)
```
Defaults to DT_INT32.