tensorflow::ops::DecodeCompressed

#include <parsing_ops.h>

คลายการบีบอัดสตริง

สรุป

ฟังก์ชันนี้จะคลายการบีบอัดแต่ละองค์ประกอบของ Tensor bytes ที่ป้อนเข้ามา ซึ่งถือว่าถูกบีบอัดโดยใช้ compression_type ที่กำหนดไว้

output คือ Tensor สตริงที่มีรูปร่างเหมือนกับ bytes โดยแต่ละองค์ประกอบจะบรรจุข้อมูลที่คลายการบีบอัดจากองค์ประกอบที่สอดคล้องกันใน bytes

ข้อโต้แย้ง:

คุณลักษณะเสริม (ดูที่ 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 

ตัวดำเนินการ::เทนเซอร์โฟลว์::อินพุต

 operator::tensorflow::Input() const 

ตัวดำเนินการ::เทนเซอร์โฟลว์::เอาต์พุต

 operator::tensorflow::Output() const 

ฟังก์ชันคงที่สาธารณะ

ประเภทการบีบอัด

Attrs CompressionType(
  StringPiece x
)