# tensorflow::ops::ResizeBicubic

`#include <image_ops.h>`

Resize `images` to `size` using bicubic interpolation.

## Summary

[Input](https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input) images can be of different types but output images are always float.

Arguments:

- scope: A [Scope](https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object
- images: 4-D with shape `[batch, height, width, channels]`.
- size: = A 1-D int32 [Tensor](https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/tensor#classtensorflow_1_1_tensor) of 2 elements: `new_height, new_width`. The new size for the images.

<br />

Optional attributes (see `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/resize-bicubic/attrs#structtensorflow_1_1ops_1_1_resize_bicubic_1_1_attrs`):

- align_corners: 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.

<br />

Returns:

- `https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output`: 4-D with shape `[batch, new_height, new_width, channels]`.

<br />

| ### Constructors and Destructors ||
|---|---|
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/resize-bicubic#classtensorflow_1_1ops_1_1_resize_bicubic_1a096d544f83cc6f082255083cb48d02fe(const ::https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope & scope, ::https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input images, ::https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input size)` ||
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/resize-bicubic#classtensorflow_1_1ops_1_1_resize_bicubic_1a9ab221a334d2ffb94c5adf308f8b6bfd(const ::https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope & scope, ::https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input images, ::https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input size, const https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/resize-bicubic/attrs#structtensorflow_1_1ops_1_1_resize_bicubic_1_1_attrs & attrs)` ||

| ### Public attributes ||
|---|---|
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/resize-bicubic#classtensorflow_1_1ops_1_1_resize_bicubic_1a843ff0ef59ba5d108883bc783791dc13` | `https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/resize-bicubic#classtensorflow_1_1ops_1_1_resize_bicubic_1abacd676e0eccfa1ed35dce58f9b1baea` | `::https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output` |

| ### Public functions ||
|---|---|
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/resize-bicubic#classtensorflow_1_1ops_1_1_resize_bicubic_1a53f33ac8a7c45193dc998500b92f8b39() const ` | `::tensorflow::Node *` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/resize-bicubic#classtensorflow_1_1ops_1_1_resize_bicubic_1ab5a27bb0ada787a04cba91cf8511ce13() const ` | ` `` ` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/resize-bicubic#classtensorflow_1_1ops_1_1_resize_bicubic_1a31ee74b6628f0dfd0a3721d7f306d5a7() const ` | ` `` ` |

| ### Public static functions ||
|---|---|
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/resize-bicubic#classtensorflow_1_1ops_1_1_resize_bicubic_1af6ac21d35f211eaeff6d5eb37dc3f9ba(bool x)` | `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/resize-bicubic/attrs#structtensorflow_1_1ops_1_1_resize_bicubic_1_1_attrs` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/resize-bicubic#classtensorflow_1_1ops_1_1_resize_bicubic_1ab7631fc0294bef994e8a9b00b8137849(bool x)` | `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/resize-bicubic/attrs#structtensorflow_1_1ops_1_1_resize_bicubic_1_1_attrs` |

| ### Structs ||
|---|---|
| [tensorflow::ops::ResizeBicubic::Attrs](https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/resize-bicubic/attrs) | Optional attribute setters for [ResizeBicubic](https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/resize-bicubic#classtensorflow_1_1ops_1_1_resize_bicubic). |

## Public attributes

### operation

```
Operation operation
```

### resized_images

```
::tensorflow::Output resized_images
```

## Public functions

### ResizeBicubic

```
 ResizeBicubic(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input images,
  ::tensorflow::Input size
)
```

### ResizeBicubic

```
 ResizeBicubic(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input images,
  ::tensorflow::Input size,
  const ResizeBicubic::Attrs & attrs
)
```

### node

```
::tensorflow::Node * node() const 
```

### operator::tensorflow::Input

```
 operator::tensorflow::Input() const 
```

### operator::tensorflow::Output

```
 operator::tensorflow::Output() const 
```

## Public static functions

### AlignCorners

```
Attrs AlignCorners(
  bool x
)
```

### HalfPixelCenters

```
Attrs HalfPixelCenters(
  bool x
)
```