Decompress strings.
tf.io.decode_compressed(
bytes: Annotated[Any, _atypes.String],
compression_type: str = '',
name=None
) -> Annotated[Any, _atypes.String]
This op decompresses each element of the bytes
input Tensor
, which
is assumed to be compressed using the given compression_type
.
The output
is a string Tensor
of the same shape as bytes
,
each element containing the decompressed data from the corresponding
element in bytes
.
Returns | |
---|---|
A Tensor of type string .
|