Aliases:
tf.decode_compressed
tf.io.decode_compressed
tf.io.decode_compressed(
bytes,
compression_type='',
name=None
)
Defined in generated file: tensorflow/python/ops/gen_parsing_ops.py
.
Decompress strings.
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
.
Args:
bytes
: ATensor
of typestring
. A Tensor of string which is compressed.compression_type
: An optionalstring
. Defaults to""
. A scalar containing either (i) the empty string (no compression), (ii) "ZLIB", or (iii) "GZIP".name
: A name for the operation (optional).
Returns:
A Tensor
of type string
.