เทนเซอร์โฟลว์:: ปฏิบัติการ:: ถอดรหัสบีบอัด
#include <parsing_ops.h>คลายการบีบอัดสตริง
สรุป
op นี้จะขยายแต่ละองค์ประกอบของ 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) | |
โครงสร้าง | |
|---|---|
| เทนเซอร์โฟลว์ :: 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 )