Decodes data
using run-length and Elias gamma coding.
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.
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). |
Returns | |
---|---|
A Tensor of type int32 .
An int32 tensor of decoded values, with shape shape .
|