# tfc.ops.run_length_gamma_decode

<br />

Decodes `data` using run-length and Elias gamma coding.

#### View aliases


**Main aliases**

[`tfc.run_length_gamma_decode`](https://www.tensorflow.org/api_docs/python/tfc/ops/run_length_gamma_decode)

<br />

    tfc.ops.run_length_gamma_decode(
        code, shape, name=None
    )

This is the inverse operation to `RunLengthGammaEncode`. The shape of the tensor
that was encoded must be known by the caller.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `code` | A `Tensor` of type `string`. An encoded scalar string as returned by `RunLengthGammaEncode`. |
| `shape` | A `Tensor` of type `int32`. An int32 vector giving the shape of the encoded data. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A `Tensor` of type `int32`. An int32 tensor of decoded values, with shape `shape`. ||

<br />