جریان تنسور:: عملیات:: رمزگشایی فشرده

#include <parsing_ops.h>

رشته ها را از حالت فشرده خارج کنید.

خلاصه

این عملیات هر عنصر از bytes ورودی Tensor را از حالت فشرده خارج می کند، که فرض می شود با استفاده از compression_type داده شده فشرده شده است.

output یک Tensor رشته ای به شکل bytes است که هر عنصر حاوی داده های فشرده شده از عنصر مربوطه در bytes است.

استدلال ها:

  • scope: یک شی Scope
  • بایت: تانسور رشته ای که فشرده شده است.

ویژگی های اختیاری (به Attrs مراجعه کنید):

  • compression_type: یک اسکالر حاوی (i) رشته خالی (بدون فشرده سازی)، (ii) "ZLIB"، یا (iii) "GZIP".

برمی گرداند:

  • Output : یک تانسور با شکلی مشابه bytes ورودی، از بایت ها فشرده نشده است.

سازندگان و ویرانگرها

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

صفات عمومی

operation
output

توابع عمومی

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

توابع استاتیک عمومی

CompressionType (StringPiece x)

سازه ها

tensorflow:: ops:: DecodeCompressed:: Attrs

تنظیم کننده های ویژگی اختیاری برای DecodeCompressed .

صفات عمومی

عمل

Operation operation

خروجی

::tensorflow::Output output

توابع عمومی

رمزگشایی فشرده

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

رمزگشایی فشرده

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

گره

::tensorflow::Node * node() const 

عملگر::tensorflow::ورودی

 operator::tensorflow::Input() const 

عملگر::tensorflow::خروجی

 operator::tensorflow::Output() const 

توابع استاتیک عمومی

نوع فشرده سازی

Attrs CompressionType(
  StringPiece x
)