tensorflow::ops::DecodeCompressed

#include <parsing_ops.h>

Dekompresi string.

Ringkasan

Operasi ini mendekompilasi setiap elemen dari Tensor input bytes , yang diasumsikan telah dikompresi menggunakan compression_type yang diberikan.

output berupa Tensor string dengan bentuk yang sama seperti bytes , di mana setiap elemen berisi data yang telah didekompresi dari elemen yang sesuai dalam bytes .

Argumen:

  • Cakupan: Objek Cakupan
  • bytes: Sebuah Tensor berupa string yang telah dikompresi.

Atribut opsional (lihat Attrs ):

  • compression_type: Sebuah nilai skalar yang berisi (i) string kosong (tanpa kompresi), (ii) "ZLIB", atau (iii) "GZIP".

Mengembalikan:

  • Output : Sebuah Tensor dengan bentuk yang sama dengan bytes input, yang telah diekstraksi dari byte.

Konstruktor dan Destruktor

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

Atribut publik

operation
output

Fungsi publik

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

Fungsi statis publik

CompressionType (StringPiece x)

Struktur

tensorflow::ops::DecodeCompressed::Attrs

Pengaturan atribut opsional untuk DecodeCompressed .

Atribut publik

operasi

Operation operation

keluaran

::tensorflow::Output output

Fungsi publik

DekodeTerkompresi

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

DekodeTerkompresi

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

simpul

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

Fungsi statis publik

Jenis Kompresi

Attrs CompressionType(
  StringPiece x
)