جریان تنسور:: عملیات:: رمزگشایی فشرده
#include <parsing_ops.h>رشته ها را از حالت فشرده خارج کنید.
خلاصه
این عملیات هر عنصر از bytes ورودی Tensor را از حالت فشرده خارج می کند، که فرض می شود با استفاده از compression_type داده شده فشرده شده است.
output یک Tensor رشته ای به شکل bytes است که هر عنصر حاوی داده های فشرده شده از عنصر مربوطه در bytes است.
استدلال ها:
ویژگی های اختیاری (به Attrs مراجعه کنید):
- compression_type: یک اسکالر حاوی (i) رشته خالی (بدون فشرده سازی)، (ii) "ZLIB"، یا (iii) "GZIP".
برمی گرداند:
سازندگان و ویرانگرها | |
|---|---|
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 )
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-26 بهوقت ساعت هماهنگ جهانی.