# tensorflow::ops::QuantizedConv2D::Attrs

`#include <nn_ops.h>`

Optional attribute setters for [QuantizedConv2D](https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/quantized-conv2-d#classtensorflow_1_1ops_1_1_quantized_conv2_d).

## Summary

| ### Public attributes ||
|---|---|
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-conv2-d/attrs#structtensorflow_1_1ops_1_1_quantized_conv2_d_1_1_attrs_1a9c7e7b8aa805b62ebd16507b3a4285a8 = Default_dilations()` | `gtl::ArraySlice< int >` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-conv2-d/attrs#structtensorflow_1_1ops_1_1_quantized_conv2_d_1_1_attrs_1ab7813f90355fc599f9fd3775c423dbe0 = DT_QINT32` | `DataType` |

| ### Public functions ||
|---|---|
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-conv2-d/attrs#structtensorflow_1_1ops_1_1_quantized_conv2_d_1_1_attrs_1a83387d8f43271c912007784178e0ac14(const gtl::ArraySlice< int > & x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-conv2-d/attrs#structtensorflow_1_1ops_1_1_quantized_conv2_d_1_1_attrs` 1-D tensor of length 4. |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-conv2-d/attrs#structtensorflow_1_1ops_1_1_quantized_conv2_d_1_1_attrs_1ac147ef854700837dcf82521e59859cd2(DataType x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-conv2-d/attrs#structtensorflow_1_1ops_1_1_quantized_conv2_d_1_1_attrs` Defaults to DT_QINT32. |

## Public attributes

### dilations_

```
gtl::ArraySlice< int > tensorflow::ops::QuantizedConv2D::Attrs::dilations_ = Default_dilations()
```

### out_type_

```
DataType tensorflow::ops::QuantizedConv2D::Attrs::out_type_ = DT_QINT32
```

## Public functions

### Dilations

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedConv2D::Attrs::Dilations(
  const gtl::ArraySlice< int > & x
)
```
1-D tensor of length 4.

The dilation factor for each dimension of `input`. If set to k \> 1, there will be k-1 skipped cells between each filter element on that dimension. The dimension order is determined by the value of `data_format`, see above for details. Dilations in the batch and depth dimensions must be 1.

Defaults to \[1, 1, 1, 1\]

### OutType

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedConv2D::Attrs::OutType(
  DataType x
)
```
Defaults to DT_QINT32.