tensorflow::ops::DecodeCompressed

#include <parsing_ops.h>

Giải nén chuỗi ký tự.

Bản tóm tắt

Thao tác này giải nén từng phần tử của Tensor đầu vào bytes , được giả định là đã được nén bằng compression_type đã cho.

Kết output là một Tensor chuỗi có cùng hình dạng với bytes , mỗi phần tử chứa dữ liệu đã được giải nén từ phần tử tương ứng trong bytes .

Luận điểm:

  • phạm vi: Một đối tượng Phạm vi
  • bytes: Một Tensor của chuỗi ký tự đã được nén.

Các thuộc tính tùy chọn (xem Attrs ):

  • compression_type: Một giá trị vô hướng chứa (i) chuỗi rỗng (không nén), (ii) "ZLIB", hoặc (iii) "GZIP".

Trả về:

  • Output : Một Tensor có cùng hình dạng với bytes đầu vào, được giải nén từ các byte.

Hàm khởi tạo và hàm hủy

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

Thuộc tính công khai

operation
output

Chức năng công cộng

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

Các hàm tĩnh công khai

CompressionType (StringPiece x)

Cấu trúc

tensorflow::ops::DecodeCompressed::Attrs

Các thiết lập thuộc tính tùy chọn cho DecodeCompressed .

Thuộc tính công khai

hoạt động

Operation operation

đầu ra

::tensorflow::Output output

Chức năng công cộng

Giải nén

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

Giải nén

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

nút

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

Các hàm tĩnh công khai

Loại nén

Attrs CompressionType(
  StringPiece x
)