# tensorflow::ops::DecodeRaw::Attrs Struct Reference

# tensorflow::
ops::
DecodeRaw::
Attrs

`
#include <parsing_ops.h>
`


Optional attribute setters for
[DecodeRaw](https://www.tensorflow.org/versions/r2.5/api_docs/cc/class/tensorflow/ops/decode-raw#classtensorflow_1_1ops_1_1_decode_raw)
.

## Summary

| ### Public attributes ||
|---|---|
| ` https://www.tensorflow.org/versions/r2.5/api_docs/cc/struct/tensorflow/ops/decode-raw/attrs#structtensorflow_1_1ops_1_1_decode_raw_1_1_attrs_1aed7aa1275ffc8c2e6ba4f3eeea8f1e4c = true ` | ` bool ` |

| ### Public functions ||
|---|---|
| ` https://www.tensorflow.org/versions/r2.5/api_docs/cc/struct/tensorflow/ops/decode-raw/attrs#structtensorflow_1_1ops_1_1_decode_raw_1_1_attrs_1a789c8bb2340a650d5d347861774b257a (bool x) ` | ` TF_MUST_USE_RESULT https://www.tensorflow.org/versions/r2.5/api_docs/cc/struct/tensorflow/ops/decode-raw/attrs#structtensorflow_1_1ops_1_1_decode_raw_1_1_attrs ` Whether the input ` bytes ` are in little-endian order. |

## Public attributes

### little_endian_

```
bool tensorflow::ops::DecodeRaw::Attrs::little_endian_ = true
```

## Public functions

### LittleEndian

```
TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeRaw::Attrs::LittleEndian(
  bool x
)
```

Whether the input
`
bytes
`
are in little-endian order.


Ignored for
`
out_type
`
values that are stored in a single byte like
`
uint8
`
.


Defaults to true