# tensorflow::ops::ResizeArea::Attrs

`#include <image_ops.h>`

Optional attribute setters for [ResizeArea](https://www.tensorflow.org/versions/r2.0/api_docs/cc/class/tensorflow/ops/resize-area#classtensorflow_1_1ops_1_1_resize_area).

## Summary

| ### Public attributes ||
|---|---|
| `https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/resize-area/attrs#structtensorflow_1_1ops_1_1_resize_area_1_1_attrs_1a571d0219a2452e935fc586d6d87d5a54 = false` | `bool` |

| ### Public functions ||
|---|---|
| `https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/resize-area/attrs#structtensorflow_1_1ops_1_1_resize_area_1_1_attrs_1a1575e533492ddc8042cb264d7e2b37a7(bool x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.0/api_docs/cc/struct/tensorflow/ops/resize-area/attrs#structtensorflow_1_1ops_1_1_resize_area_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

### align_corners_

```
bool tensorflow::ops::ResizeArea::Attrs::align_corners_ = false
```

## Public functions

### AlignCorners

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::ResizeArea::Attrs::AlignCorners(
  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