# tensorflow::ops::DecodePaddedRaw

`#include <parsing_ops.h>`

Reinterpret the bytes of a string as a vector of numbers.

## Summary

Arguments:

- scope: A [Scope](https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object
- input_bytes: [Tensor](https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/tensor#classtensorflow_1_1_tensor) of string to be decoded.
- fixed_length: Length in bytes for each element of the decoded output. Must be a multiple of the size of the output type.

<br />

Optional attributes (see `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/decode-padded-raw/attrs#structtensorflow_1_1ops_1_1_decode_padded_raw_1_1_attrs`):

- little_endian: Whether the input `input_bytes` is in little-endian order. Ignored for `out_type` values that are stored in a single byte, like `uint8`

<br />

Returns:

- `https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output`: A [Tensor](https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/tensor#classtensorflow_1_1_tensor) with one more dimension than the input `bytes`. The added dimension will have size equal to the length of the elements of `bytes` divided by the number of bytes to represent `out_type`.

<br />

| ### Constructors and Destructors ||
|---|---|
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/decode-padded-raw#classtensorflow_1_1ops_1_1_decode_padded_raw_1a94183df5bdaedc1b310e9ea130b6307e(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 input_bytes, ::https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input fixed_length, DataType out_type)` ||
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/decode-padded-raw#classtensorflow_1_1ops_1_1_decode_padded_raw_1a66932ca392b545de06ef001a96c15905(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 input_bytes, ::https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input fixed_length, DataType out_type, const https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/decode-padded-raw/attrs#structtensorflow_1_1ops_1_1_decode_padded_raw_1_1_attrs & attrs)` ||

| ### Public attributes ||
|---|---|
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/decode-padded-raw#classtensorflow_1_1ops_1_1_decode_padded_raw_1a29f4a01fa9cc61a7e4df40f8a22ca1bb` | `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/decode-padded-raw#classtensorflow_1_1ops_1_1_decode_padded_raw_1a9c2c7dbf7b377847e5a78d67e0cec014` | `::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/decode-padded-raw#classtensorflow_1_1ops_1_1_decode_padded_raw_1a12c5000831086d93709e38a378183832() const ` | `::tensorflow::Node *` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/decode-padded-raw#classtensorflow_1_1ops_1_1_decode_padded_raw_1a6ec3864a3eefba01c1aa3675343e5fd5() const ` | ` `` ` |
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/decode-padded-raw#classtensorflow_1_1ops_1_1_decode_padded_raw_1a6bbda4013c115a1adf52cdfda9610dc7() const ` | ` `` ` |

| ### Public static functions ||
|---|---|
| `https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/decode-padded-raw#classtensorflow_1_1ops_1_1_decode_padded_raw_1ab9637f01ff5433b8d35f31d306d7b91c(bool x)` | `https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/decode-padded-raw/attrs#structtensorflow_1_1ops_1_1_decode_padded_raw_1_1_attrs` |

| ### Structs ||
|---|---|
| [tensorflow::ops::DecodePaddedRaw::Attrs](https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/decode-padded-raw/attrs) | Optional attribute setters for [DecodePaddedRaw](https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/decode-padded-raw#classtensorflow_1_1ops_1_1_decode_padded_raw). |

## Public attributes

### operation

```
Operation operation
```

### output

```
::tensorflow::Output output
```

## Public functions

### DecodePaddedRaw

```
 DecodePaddedRaw(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input_bytes,
  ::tensorflow::Input fixed_length,
  DataType out_type
)
```

### DecodePaddedRaw

```
 DecodePaddedRaw(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input_bytes,
  ::tensorflow::Input fixed_length,
  DataType out_type,
  const DecodePaddedRaw::Attrs & attrs
)
```

### node

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

### operator::tensorflow::Input

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

### operator::tensorflow::Output

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

## Public static functions

### LittleEndian

```
Attrs LittleEndian(
  bool x
)
```