Encodes data
using run-length and Elias gamma coding.
tfc.ops.run_length_gamma_encode(
data, name=None
)
Args | |
---|---|
data
|
A Tensor of type int32 . An int32 tensor of values to be encoded.
|
name
|
A name for the operation (optional). |
Returns | |
---|---|
A Tensor of type string . An encoded scalar string.
|