# tf.raw_ops.DecodePaddedRaw

<br />

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

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.raw_ops.DecodePaddedRaw`](https://www.tensorflow.org/api_docs/python/tf/raw_ops/DecodePaddedRaw)

<br />

    tf.raw_ops.DecodePaddedRaw(
        input_bytes, fixed_length, out_type, little_endian=True, name=None
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `input_bytes` | A `Tensor` of type `string`. Tensor of string to be decoded. |
| `fixed_length` | A `Tensor` of type `int32`. Length in bytes for each element of the decoded output. Must be a multiple of the size of the output type. |
| `out_type` | A [`tf.DType`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/dtypes/DType) from: `tf.half, tf.float32, tf.float64, tf.int32, tf.uint16, tf.uint8, tf.int16, tf.int8, tf.int64, tf.bfloat16`. |
| `little_endian` | An optional `bool`. Defaults to `True`. Whether the input `input_bytes` is in little-endian order. Ignored for `out_type` values that are stored in a single byte, like `uint8` |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A `Tensor` of type `out_type`. ||

<br />