# tfc.ops.run_length_gamma_encode

<br />

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

#### View aliases


**Main aliases**

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

<br />

    tfc.ops.run_length_gamma_encode(
        data, name=None
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `data` | A `Tensor` of type `int32`. An int32 tensor of values to be encoded. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A `Tensor` of type `string`. An encoded scalar string. ||

<br />