tensor akışı:: işlem:: Kod ÇözmeSıkıştırılmış

#include <parsing_ops.h>

Dizelerin sıkıştırmasını açın.

Özet

Bu işlem, verilen compression_type kullanılarak sıkıştırıldığı varsayılan bytes girişi Tensor her öğesinin sıkıştırmasını açar.

output , bytes aynı şekle sahip bir Tensor dizisidir; her öğe, karşılık gelen öğenin sıkıştırılmış verilerini bytes cinsinden içerir.

Argümanlar:

  • kapsam: Bir Kapsam nesnesi
  • bayt: Sıkıştırılmış bir dize Tensörü .

İsteğe bağlı özellikler (bkz. Attrs ):

  • sıkıştırma_türü: (i) boş dizeyi (sıkıştırma yok), (ii) "ZLIB" veya (iii) "GZIP"yi içeren bir skaler.

İadeler:

  • Output : Baytlardan sıkıştırılmamış, giriş bytes aynı şekle sahip bir Tensör .

Yapıcılar ve Yıkıcılar

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

Genel özellikler

operation
output

Kamu işlevleri

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

Genel statik işlevler

CompressionType (StringPiece x)

Yapılar

tensorflow:: ops:: DecodeCompressed:: Öznitelikler

DecodeCompressed için isteğe bağlı öznitelik ayarlayıcılar.

Genel özellikler

operasyon

Operation operation

çıktı

::tensorflow::Output output

Kamu işlevleri

Kod ÇözmeSıkıştırılmış

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

Kod ÇözmeSıkıştırılmış

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

düğüm

::tensorflow::Node * node() const 

operatör::tensorflow::Giriş

 operator::tensorflow::Input() const 

operatör::tensorflow::Çıktı

 operator::tensorflow::Output() const 

Genel statik işlevler

Sıkıştırma Türü

Attrs CompressionType(
  StringPiece x
)