# tensorflow::ops::CropAndResizeGradImage::Attrs Struct Reference

# tensorflow::ops::CropAndResizeGradImage::Attrs

`#include <image_ops.h>`

Optional attribute setters for [CropAndResizeGradImage](https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/ops/crop-and-resize-grad-image#classtensorflow_1_1ops_1_1_crop_and_resize_grad_image).

## Summary

| ### Public attributes ||
|---|---|
| `https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/crop-and-resize-grad-image/attrs#structtensorflow_1_1ops_1_1_crop_and_resize_grad_image_1_1_attrs_1ab27c53859aa59f3889033db0f48a3b8b = "bilinear"` | `StringPiece` |

| ### Public functions ||
|---|---|
| `https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/crop-and-resize-grad-image/attrs#structtensorflow_1_1ops_1_1_crop_and_resize_grad_image_1_1_attrs_1ac731c08e5fca703ef1f7aaf79669071e(StringPiece x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.3/api_docs/cc/struct/tensorflow/ops/crop-and-resize-grad-image/attrs#structtensorflow_1_1ops_1_1_crop_and_resize_grad_image_1_1_attrs` A string specifying the interpolation method. |

## Public attributes

### method_

```
StringPiece tensorflow::ops::CropAndResizeGradImage::Attrs::method_ = "bilinear"
```

## Public functions

### Method

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::CropAndResizeGradImage::Attrs::Method(
  StringPiece x
)
```
A string specifying the interpolation method.

Only 'bilinear' is supported for now.

Defaults to "bilinear"