tensorflow::ops::DecodeCompressed

#include <parsing_ops.h>

Decompress strings.

Summary

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.

Arguments:

  • scope: A Scope object
  • bytes: A Tensor of string which is compressed.

Optional attributes (see Attrs):

  • compression_type: A scalar containing either (i) the empty string (no compression), (ii) "ZLIB", or (iii) "GZIP".

Returns:

  • Output: A Tensor with the same shape as input bytes, uncompressed from bytes.

Constructors and Destructors

DecodeCompressed(const ::tensorflow::Scope & scope, ::tensorflow::Input bytes)
DecodeCompressed(const ::tensorflow::Scope & scope, ::tensorflow::Input bytes, const DecodeCompressed::Attrs & attrs)

Public attributes

operation
output

Public functions

node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const

Public static functions

CompressionType(StringPiece x)

Structs

tensorflow::ops::DecodeCompressed::Attrs

Optional attribute setters for DecodeCompressed.

Public attributes

operation

Operation operation

output

::tensorflow::Output output

Public functions

DecodeCompressed

 DecodeCompressed(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input bytes
)

DecodeCompressed

 DecodeCompressed(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input bytes,
  const DecodeCompressed::Attrs & attrs
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

Public static functions

CompressionType

Attrs CompressionType(
  StringPiece x
)