# tensorflow::ops::ExtractJpegShape::Attrs Struct Reference

# tensorflow::ops::ExtractJpegShape::Attrs

`#include <image_ops.h>`

Optional attribute setters for [ExtractJpegShape](https://www.tensorflow.org/versions/r2.8/api_docs/cc/class/tensorflow/ops/extract-jpeg-shape#classtensorflow_1_1ops_1_1_extract_jpeg_shape).

## Summary

| ### Public attributes ||
|---|---|
| `https://www.tensorflow.org/versions/r2.8/api_docs/cc/struct/tensorflow/ops/extract-jpeg-shape/attrs#structtensorflow_1_1ops_1_1_extract_jpeg_shape_1_1_attrs_1a351677b955d77dcb56f49f22495bf4c3 = DT_INT32` | `DataType` |

| ### Public functions ||
|---|---|
| `https://www.tensorflow.org/versions/r2.8/api_docs/cc/struct/tensorflow/ops/extract-jpeg-shape/attrs#structtensorflow_1_1ops_1_1_extract_jpeg_shape_1_1_attrs_1a33e9816fa3869da862c20af6aca684b7(DataType x)` | `TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.8/api_docs/cc/struct/tensorflow/ops/extract-jpeg-shape/attrs#structtensorflow_1_1ops_1_1_extract_jpeg_shape_1_1_attrs` (Optional) The output type of the operation (int32 or int64). |

## Public attributes

### output_type_

```
DataType tensorflow::ops::ExtractJpegShape::Attrs::output_type_ = DT_INT32
```

## Public functions

### OutputType

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::ExtractJpegShape::Attrs::OutputType(
  DataType x
)
```
(Optional) The output type of the operation (int32 or int64).

Defaults to int32.

Defaults to DT_INT32