# tensorflow::ops::FusedResizeAndPadConv2D::Attrs Struct Reference

# tensorflow::ops::FusedResizeAndPadConv2D::Attrs

`#include <nn_ops.h>`

Optional attribute setters for [FusedResizeAndPadConv2D](https://www.tensorflow.org/versions/r2.8/api_docs/cc/class/tensorflow/ops/fused-resize-and-pad-conv2-d#classtensorflow_1_1ops_1_1_fused_resize_and_pad_conv2_d).

## Summary

| ### Public attributes ||
|---|---|
| `https://www.tensorflow.org/versions/r2.8/api_docs/cc/struct/tensorflow/ops/fused-resize-and-pad-conv2-d/attrs#structtensorflow_1_1ops_1_1_fused_resize_and_pad_conv2_d_1_1_attrs_1aecba02f7338861b059ba82d5a301bbb3 = false` | `bool` |

| ### Public functions ||
|---|---|
| `https://www.tensorflow.org/versions/r2.8/api_docs/cc/struct/tensorflow/ops/fused-resize-and-pad-conv2-d/attrs#structtensorflow_1_1ops_1_1_fused_resize_and_pad_conv2_d_1_1_attrs_1a6e7fb4ea53bd735bd349a39b7a600dc9(bool x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.8/api_docs/cc/struct/tensorflow/ops/fused-resize-and-pad-conv2-d/attrs#structtensorflow_1_1ops_1_1_fused_resize_and_pad_conv2_d_1_1_attrs` If true, the centers of the 4 corner pixels of the input and output tensors are aligned, preserving the values at the corner pixels. |

## Public attributes

### resize_align_corners_

```
bool tensorflow::ops::FusedResizeAndPadConv2D::Attrs::resize_align_corners_ = false
```

## Public functions

### ResizeAlignCorners

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::FusedResizeAndPadConv2D::Attrs::ResizeAlignCorners(
  bool x
)
```
If true, the centers of the 4 corner pixels of the input and output tensors are aligned, preserving the values at the corner pixels.

Defaults to false.

Defaults to false