tfc.ops.run_length_gamma_decode

Decodes data using run-length and Elias gamma coding.

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

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).

A Tensor of type int32. An int32 tensor of decoded values, with shape shape.